...
1
2
3 package mockdb
4
5 import (
6 kivik "github.com/go-kivik/kivik/v4"
7 "github.com/go-kivik/kivik/v4/driver"
8 )
9
10 var _ = kivik.EndKeySuffix
11 var _ = (*driver.Attachment)(nil)
12
13
14 func (c *Client) ExpectAllDBs() *ExpectedAllDBs {
15 e := &ExpectedAllDBs{}
16 c.expected = append(c.expected, e)
17 return e
18 }
19
20
21 func (c *Client) ExpectClose() *ExpectedClose {
22 e := &ExpectedClose{}
23 c.expected = append(c.expected, e)
24 return e
25 }
26
27
28 func (c *Client) ExpectClusterSetup() *ExpectedClusterSetup {
29 e := &ExpectedClusterSetup{}
30 c.expected = append(c.expected, e)
31 return e
32 }
33
34
35 func (c *Client) ExpectClusterStatus() *ExpectedClusterStatus {
36 e := &ExpectedClusterStatus{}
37 c.expected = append(c.expected, e)
38 return e
39 }
40
41
42 func (c *Client) ExpectConfigValue() *ExpectedConfigValue {
43 e := &ExpectedConfigValue{}
44 c.expected = append(c.expected, e)
45 return e
46 }
47
48
49 func (c *Client) ExpectDBExists() *ExpectedDBExists {
50 e := &ExpectedDBExists{}
51 c.expected = append(c.expected, e)
52 return e
53 }
54
55
56 func (c *Client) ExpectDeleteConfigKey() *ExpectedDeleteConfigKey {
57 e := &ExpectedDeleteConfigKey{}
58 c.expected = append(c.expected, e)
59 return e
60 }
61
62
63 func (c *Client) ExpectDestroyDB() *ExpectedDestroyDB {
64 e := &ExpectedDestroyDB{}
65 c.expected = append(c.expected, e)
66 return e
67 }
68
69
70 func (c *Client) ExpectPing() *ExpectedPing {
71 e := &ExpectedPing{}
72 c.expected = append(c.expected, e)
73 return e
74 }
75
76
77 func (c *Client) ExpectSetConfigValue() *ExpectedSetConfigValue {
78 e := &ExpectedSetConfigValue{}
79 c.expected = append(c.expected, e)
80 return e
81 }
82
83
84 func (c *Client) ExpectAllDBsStats() *ExpectedAllDBsStats {
85 e := &ExpectedAllDBsStats{}
86 c.expected = append(c.expected, e)
87 return e
88 }
89
90
91 func (c *Client) ExpectConfig() *ExpectedConfig {
92 e := &ExpectedConfig{}
93 c.expected = append(c.expected, e)
94 return e
95 }
96
97
98 func (c *Client) ExpectConfigSection() *ExpectedConfigSection {
99 e := &ExpectedConfigSection{}
100 c.expected = append(c.expected, e)
101 return e
102 }
103
104
105 func (c *Client) ExpectDB() *ExpectedDB {
106 e := &ExpectedDB{
107 ret0: &DB{},
108 }
109 c.expected = append(c.expected, e)
110 return e
111 }
112
113
114 func (c *Client) ExpectDBUpdates() *ExpectedDBUpdates {
115 e := &ExpectedDBUpdates{
116 ret0: &Updates{},
117 }
118 c.expected = append(c.expected, e)
119 return e
120 }
121
122
123 func (c *Client) ExpectDBsStats() *ExpectedDBsStats {
124 e := &ExpectedDBsStats{}
125 c.expected = append(c.expected, e)
126 return e
127 }
128
129
130 func (c *Client) ExpectGetReplications() *ExpectedGetReplications {
131 e := &ExpectedGetReplications{}
132 c.expected = append(c.expected, e)
133 return e
134 }
135
136
137 func (c *Client) ExpectMembership() *ExpectedMembership {
138 e := &ExpectedMembership{}
139 c.expected = append(c.expected, e)
140 return e
141 }
142
143
144 func (c *Client) ExpectReplicate() *ExpectedReplicate {
145 e := &ExpectedReplicate{}
146 c.expected = append(c.expected, e)
147 return e
148 }
149
150
151 func (c *Client) ExpectSession() *ExpectedSession {
152 e := &ExpectedSession{}
153 c.expected = append(c.expected, e)
154 return e
155 }
156
157
158 func (c *Client) ExpectVersion() *ExpectedVersion {
159 e := &ExpectedVersion{}
160 c.expected = append(c.expected, e)
161 return e
162 }
163
View as plain text