-
Notifications
You must be signed in to change notification settings - Fork 44
/
clientmock_gen.go
155 lines (132 loc) · 4.29 KB
/
clientmock_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* This file is auto-generated. Do not edit it! */
package mockdb
import (
kivik "github.com/go-kivik/kivik/v4"
"github.com/go-kivik/kivik/v4/driver"
)
var _ = kivik.EndKeySuffix // To ensure a reference to kivik package
var _ = (*driver.Attachment)(nil)
// ExpectAllDBs queues an expectation that AllDBs will be called.
func (c *Client) ExpectAllDBs() *ExpectedAllDBs {
e := &ExpectedAllDBs{}
c.expected = append(c.expected, e)
return e
}
// ExpectClose queues an expectation that Close will be called.
func (c *Client) ExpectClose() *ExpectedClose {
e := &ExpectedClose{}
c.expected = append(c.expected, e)
return e
}
// ExpectClusterSetup queues an expectation that ClusterSetup will be called.
func (c *Client) ExpectClusterSetup() *ExpectedClusterSetup {
e := &ExpectedClusterSetup{}
c.expected = append(c.expected, e)
return e
}
// ExpectClusterStatus queues an expectation that ClusterStatus will be called.
func (c *Client) ExpectClusterStatus() *ExpectedClusterStatus {
e := &ExpectedClusterStatus{}
c.expected = append(c.expected, e)
return e
}
// ExpectConfigValue queues an expectation that ConfigValue will be called.
func (c *Client) ExpectConfigValue() *ExpectedConfigValue {
e := &ExpectedConfigValue{}
c.expected = append(c.expected, e)
return e
}
// ExpectDBExists queues an expectation that DBExists will be called.
func (c *Client) ExpectDBExists() *ExpectedDBExists {
e := &ExpectedDBExists{}
c.expected = append(c.expected, e)
return e
}
// ExpectDeleteConfigKey queues an expectation that DeleteConfigKey will be called.
func (c *Client) ExpectDeleteConfigKey() *ExpectedDeleteConfigKey {
e := &ExpectedDeleteConfigKey{}
c.expected = append(c.expected, e)
return e
}
// ExpectDestroyDB queues an expectation that DestroyDB will be called.
func (c *Client) ExpectDestroyDB() *ExpectedDestroyDB {
e := &ExpectedDestroyDB{}
c.expected = append(c.expected, e)
return e
}
// ExpectPing queues an expectation that Ping will be called.
func (c *Client) ExpectPing() *ExpectedPing {
e := &ExpectedPing{}
c.expected = append(c.expected, e)
return e
}
// ExpectSetConfigValue queues an expectation that SetConfigValue will be called.
func (c *Client) ExpectSetConfigValue() *ExpectedSetConfigValue {
e := &ExpectedSetConfigValue{}
c.expected = append(c.expected, e)
return e
}
// ExpectConfig queues an expectation that Config will be called.
func (c *Client) ExpectConfig() *ExpectedConfig {
e := &ExpectedConfig{}
c.expected = append(c.expected, e)
return e
}
// ExpectConfigSection queues an expectation that ConfigSection will be called.
func (c *Client) ExpectConfigSection() *ExpectedConfigSection {
e := &ExpectedConfigSection{}
c.expected = append(c.expected, e)
return e
}
// ExpectDB queues an expectation that DB will be called.
func (c *Client) ExpectDB() *ExpectedDB {
e := &ExpectedDB{
ret0: &DB{},
}
c.expected = append(c.expected, e)
return e
}
// ExpectDBUpdates queues an expectation that DBUpdates will be called.
func (c *Client) ExpectDBUpdates() *ExpectedDBUpdates {
e := &ExpectedDBUpdates{
ret0: &Updates{},
}
c.expected = append(c.expected, e)
return e
}
// ExpectDBsStats queues an expectation that DBsStats will be called.
func (c *Client) ExpectDBsStats() *ExpectedDBsStats {
e := &ExpectedDBsStats{}
c.expected = append(c.expected, e)
return e
}
// ExpectGetReplications queues an expectation that GetReplications will be called.
func (c *Client) ExpectGetReplications() *ExpectedGetReplications {
e := &ExpectedGetReplications{}
c.expected = append(c.expected, e)
return e
}
// ExpectMembership queues an expectation that Membership will be called.
func (c *Client) ExpectMembership() *ExpectedMembership {
e := &ExpectedMembership{}
c.expected = append(c.expected, e)
return e
}
// ExpectReplicate queues an expectation that Replicate will be called.
func (c *Client) ExpectReplicate() *ExpectedReplicate {
e := &ExpectedReplicate{}
c.expected = append(c.expected, e)
return e
}
// ExpectSession queues an expectation that Session will be called.
func (c *Client) ExpectSession() *ExpectedSession {
e := &ExpectedSession{}
c.expected = append(c.expected, e)
return e
}
// ExpectVersion queues an expectation that Version will be called.
func (c *Client) ExpectVersion() *ExpectedVersion {
e := &ExpectedVersion{}
c.expected = append(c.expected, e)
return e
}