Lines Matching defs:Wrapper

12 type Wrapper struct {  struct
13 ConfigPathStub func() string
14 configPathMutex sync.RWMutex
15 configPathArgsForCall []struct {
17 configPathReturns struct {
20 configPathReturnsOnCall map[int]struct {
23 DefaultDeviceStub func() config.DeviceConfiguration
24 defaultDeviceMutex sync.RWMutex
25 defaultDeviceArgsForCall []struct {
27 defaultDeviceReturns struct {
30 defaultDeviceReturnsOnCall map[int]struct {
33 DefaultFolderStub func() config.FolderConfiguration
34 defaultFolderMutex sync.RWMutex
35 defaultFolderArgsForCall []struct {
37 defaultFolderReturns struct {
40 defaultFolderReturnsOnCall map[int]struct {
43 DeviceStub func(protocol.DeviceID) (config.DeviceConfiguration, bool)
44 deviceMutex sync.RWMutex
45 deviceArgsForCall []struct {
48 deviceReturns struct {
52 deviceReturnsOnCall map[int]struct {
56 DeviceListStub func() []config.DeviceConfiguration
57 deviceListMutex sync.RWMutex
58 deviceListArgsForCall []struct {
60 deviceListReturns struct {
63 deviceListReturnsOnCall map[int]struct {
66 DevicesStub func() map[protocol.DeviceID]config.DeviceConfiguration
67 devicesMutex sync.RWMutex
68 devicesArgsForCall []struct {
70 devicesReturns struct {
73 devicesReturnsOnCall map[int]struct {
76 FolderStub func(string) (config.FolderConfiguration, bool)
77 folderMutex sync.RWMutex
78 folderArgsForCall []struct {
81 folderReturns struct {
85 folderReturnsOnCall map[int]struct {
89 FolderListStub func() []config.FolderConfiguration
90 folderListMutex sync.RWMutex
91 folderListArgsForCall []struct {
93 folderListReturns struct {
96 folderListReturnsOnCall map[int]struct {
99 FolderPasswordsStub func(protocol.DeviceID) map[string]string
100 folderPasswordsMutex sync.RWMutex
101 folderPasswordsArgsForCall []struct {
104 folderPasswordsReturns struct {
107 folderPasswordsReturnsOnCall map[int]struct {
110 FoldersStub func() map[string]config.FolderConfiguration
111 foldersMutex sync.RWMutex
112 foldersArgsForCall []struct {
114 foldersReturns struct {
117 foldersReturnsOnCall map[int]struct {
120 GUIStub func() config.GUIConfiguration
121 gUIMutex sync.RWMutex
122 gUIArgsForCall []struct {
124 gUIReturns struct {
127 gUIReturnsOnCall map[int]struct {
130 IgnoredDeviceStub func(protocol.DeviceID) bool
131 ignoredDeviceMutex sync.RWMutex
132 ignoredDeviceArgsForCall []struct {
135 ignoredDeviceReturns struct {
138 ignoredDeviceReturnsOnCall map[int]struct {
141 IgnoredDevicesStub func() []config.ObservedDevice
142 ignoredDevicesMutex sync.RWMutex
143 ignoredDevicesArgsForCall []struct {
145 ignoredDevicesReturns struct {
148 ignoredDevicesReturnsOnCall map[int]struct {
151 IgnoredFolderStub func(protocol.DeviceID, string) bool
152 ignoredFolderMutex sync.RWMutex
153 ignoredFolderArgsForCall []struct {
157 ignoredFolderReturns struct {
160 ignoredFolderReturnsOnCall map[int]struct {
163 LDAPStub func() config.LDAPConfiguration
164 lDAPMutex sync.RWMutex
165 lDAPArgsForCall []struct {
167 lDAPReturns struct {
170 lDAPReturnsOnCall map[int]struct {
173 ModifyStub func(config.ModifyFunction) (config.Waiter, error)
174 modifyMutex sync.RWMutex
175 modifyArgsForCall []struct {
178 modifyReturns struct {
182 modifyReturnsOnCall map[int]struct {
186 MyIDStub func() protocol.DeviceID
187 myIDMutex sync.RWMutex
188 myIDArgsForCall []struct {
190 myIDReturns struct {
193 myIDReturnsOnCall map[int]struct {
196 OptionsStub func() config.OptionsConfiguration
197 optionsMutex sync.RWMutex
198 optionsArgsForCall []struct {
200 optionsReturns struct {
203 optionsReturnsOnCall map[int]struct {
206 RawCopyStub func() config.Configuration
207 rawCopyMutex sync.RWMutex
208 rawCopyArgsForCall []struct {
210 rawCopyReturns struct {
213 rawCopyReturnsOnCall map[int]struct {
216 RemoveDeviceStub func(protocol.DeviceID) (config.Waiter, error)
217 removeDeviceMutex sync.RWMutex
218 removeDeviceArgsForCall []struct {
221 removeDeviceReturns struct {
225 removeDeviceReturnsOnCall map[int]struct {
229 RemoveFolderStub func(string) (config.Waiter, error)
230 removeFolderMutex sync.RWMutex
231 removeFolderArgsForCall []struct {
234 removeFolderReturns struct {
238 removeFolderReturnsOnCall map[int]struct {
242 RequiresRestartStub func() bool
243 requiresRestartMutex sync.RWMutex
244 requiresRestartArgsForCall []struct {
246 requiresRestartReturns struct {
249 requiresRestartReturnsOnCall map[int]struct {
252 SaveStub func() error
253 saveMutex sync.RWMutex
254 saveArgsForCall []struct {
256 saveReturns struct {
259 saveReturnsOnCall map[int]struct {
262 ServeStub func(context.Context) error
263 serveMutex sync.RWMutex
264 serveArgsForCall []struct {
267 serveReturns struct {
270 serveReturnsOnCall map[int]struct {
273 SubscribeStub func(config.Committer) config.Configuration
274 subscribeMutex sync.RWMutex
275 subscribeArgsForCall []struct {
278 subscribeReturns struct {
281 subscribeReturnsOnCall map[int]struct {
284 UnsubscribeStub func(config.Committer)
285 unsubscribeMutex sync.RWMutex
286 unsubscribeArgsForCall []struct {
289 invocations map[string][][]interface{}
290 invocationsMutex sync.RWMutex
293 func (fake *Wrapper) ConfigPath() string {
311 func (fake *Wrapper) ConfigPathCallCount() int {
317 func (fake *Wrapper) ConfigPathCalls(stub func() string) {
323 func (fake *Wrapper) ConfigPathReturns(result1 string) {
332 func (fake *Wrapper) ConfigPathReturnsOnCall(i int, result1 string) {
346 func (fake *Wrapper) DefaultDevice() config.DeviceConfiguration {
364 func (fake *Wrapper) DefaultDeviceCallCount() int {
370 func (fake *Wrapper) DefaultDeviceCalls(stub func() config.DeviceConfiguration) {
376 func (fake *Wrapper) DefaultDeviceReturns(result1 config.DeviceConfiguration) {
385 func (fake *Wrapper) DefaultDeviceReturnsOnCall(i int, result1 config.DeviceConfiguration) {
399 func (fake *Wrapper) DefaultFolder() config.FolderConfiguration {
417 func (fake *Wrapper) DefaultFolderCallCount() int {
423 func (fake *Wrapper) DefaultFolderCalls(stub func() config.FolderConfiguration) {
429 func (fake *Wrapper) DefaultFolderReturns(result1 config.FolderConfiguration) {
438 func (fake *Wrapper) DefaultFolderReturnsOnCall(i int, result1 config.FolderConfiguration) {
452 func (fake *Wrapper) Device(arg1 protocol.DeviceID) (config.DeviceConfiguration, bool) {
471 func (fake *Wrapper) DeviceCallCount() int {
477 func (fake *Wrapper) DeviceCalls(stub func(protocol.DeviceID) (config.DeviceConfiguration, bool)) {
483 func (fake *Wrapper) DeviceArgsForCall(i int) protocol.DeviceID {
490 func (fake *Wrapper) DeviceReturns(result1 config.DeviceConfiguration, result2 bool) {
500 func (fake *Wrapper) DeviceReturnsOnCall(i int, result1 config.DeviceConfiguration, result2 bool) {
516 func (fake *Wrapper) DeviceList() []config.DeviceConfiguration {
534 func (fake *Wrapper) DeviceListCallCount() int {
540 func (fake *Wrapper) DeviceListCalls(stub func() []config.DeviceConfiguration) {
546 func (fake *Wrapper) DeviceListReturns(result1 []config.DeviceConfiguration) {
555 func (fake *Wrapper) DeviceListReturnsOnCall(i int, result1 []config.DeviceConfiguration) {
569 func (fake *Wrapper) Devices() map[protocol.DeviceID]config.DeviceConfiguration {
587 func (fake *Wrapper) DevicesCallCount() int {
593 func (fake *Wrapper) DevicesCalls(stub func() map[protocol.DeviceID]config.DeviceConfiguration) {
599 func (fake *Wrapper) DevicesReturns(result1 map[protocol.DeviceID]config.DeviceConfiguration) {
608 …e *Wrapper) DevicesReturnsOnCall(i int, result1 map[protocol.DeviceID]config.DeviceConfiguration) {
622 func (fake *Wrapper) Folder(arg1 string) (config.FolderConfiguration, bool) {
641 func (fake *Wrapper) FolderCallCount() int {
647 func (fake *Wrapper) FolderCalls(stub func(string) (config.FolderConfiguration, bool)) {
653 func (fake *Wrapper) FolderArgsForCall(i int) string {
660 func (fake *Wrapper) FolderReturns(result1 config.FolderConfiguration, result2 bool) {
670 func (fake *Wrapper) FolderReturnsOnCall(i int, result1 config.FolderConfiguration, result2 bool) {
686 func (fake *Wrapper) FolderList() []config.FolderConfiguration {
704 func (fake *Wrapper) FolderListCallCount() int {
710 func (fake *Wrapper) FolderListCalls(stub func() []config.FolderConfiguration) {
716 func (fake *Wrapper) FolderListReturns(result1 []config.FolderConfiguration) {
725 func (fake *Wrapper) FolderListReturnsOnCall(i int, result1 []config.FolderConfiguration) {
739 func (fake *Wrapper) FolderPasswords(arg1 protocol.DeviceID) map[string]string {
758 func (fake *Wrapper) FolderPasswordsCallCount() int {
764 func (fake *Wrapper) FolderPasswordsCalls(stub func(protocol.DeviceID) map[string]string) {
770 func (fake *Wrapper) FolderPasswordsArgsForCall(i int) protocol.DeviceID {
777 func (fake *Wrapper) FolderPasswordsReturns(result1 map[string]string) {
786 func (fake *Wrapper) FolderPasswordsReturnsOnCall(i int, result1 map[string]string) {
800 func (fake *Wrapper) Folders() map[string]config.FolderConfiguration {
818 func (fake *Wrapper) FoldersCallCount() int {
824 func (fake *Wrapper) FoldersCalls(stub func() map[string]config.FolderConfiguration) {
830 func (fake *Wrapper) FoldersReturns(result1 map[string]config.FolderConfiguration) {
839 func (fake *Wrapper) FoldersReturnsOnCall(i int, result1 map[string]config.FolderConfiguration) {
853 func (fake *Wrapper) GUI() config.GUIConfiguration {
871 func (fake *Wrapper) GUICallCount() int {
877 func (fake *Wrapper) GUICalls(stub func() config.GUIConfiguration) {
883 func (fake *Wrapper) GUIReturns(result1 config.GUIConfiguration) {
892 func (fake *Wrapper) GUIReturnsOnCall(i int, result1 config.GUIConfiguration) {
906 func (fake *Wrapper) IgnoredDevice(arg1 protocol.DeviceID) bool {
925 func (fake *Wrapper) IgnoredDeviceCallCount() int {
931 func (fake *Wrapper) IgnoredDeviceCalls(stub func(protocol.DeviceID) bool) {
937 func (fake *Wrapper) IgnoredDeviceArgsForCall(i int) protocol.DeviceID {
944 func (fake *Wrapper) IgnoredDeviceReturns(result1 bool) {
953 func (fake *Wrapper) IgnoredDeviceReturnsOnCall(i int, result1 bool) {
967 func (fake *Wrapper) IgnoredDevices() []config.ObservedDevice {
985 func (fake *Wrapper) IgnoredDevicesCallCount() int {
991 func (fake *Wrapper) IgnoredDevicesCalls(stub func() []config.ObservedDevice) {
997 func (fake *Wrapper) IgnoredDevicesReturns(result1 []config.ObservedDevice) {
1006 func (fake *Wrapper) IgnoredDevicesReturnsOnCall(i int, result1 []config.ObservedDevice) {
1020 func (fake *Wrapper) IgnoredFolder(arg1 protocol.DeviceID, arg2 string) bool {
1040 func (fake *Wrapper) IgnoredFolderCallCount() int {
1046 func (fake *Wrapper) IgnoredFolderCalls(stub func(protocol.DeviceID, string) bool) {
1052 func (fake *Wrapper) IgnoredFolderArgsForCall(i int) (protocol.DeviceID, string) {
1059 func (fake *Wrapper) IgnoredFolderReturns(result1 bool) {
1068 func (fake *Wrapper) IgnoredFolderReturnsOnCall(i int, result1 bool) {
1082 func (fake *Wrapper) LDAP() config.LDAPConfiguration {
1100 func (fake *Wrapper) LDAPCallCount() int {
1106 func (fake *Wrapper) LDAPCalls(stub func() config.LDAPConfiguration) {
1112 func (fake *Wrapper) LDAPReturns(result1 config.LDAPConfiguration) {
1121 func (fake *Wrapper) LDAPReturnsOnCall(i int, result1 config.LDAPConfiguration) {
1135 func (fake *Wrapper) Modify(arg1 config.ModifyFunction) (config.Waiter, error) {
1154 func (fake *Wrapper) ModifyCallCount() int {
1160 func (fake *Wrapper) ModifyCalls(stub func(config.ModifyFunction) (config.Waiter, error)) {
1166 func (fake *Wrapper) ModifyArgsForCall(i int) config.ModifyFunction {
1173 func (fake *Wrapper) ModifyReturns(result1 config.Waiter, result2 error) {
1183 func (fake *Wrapper) ModifyReturnsOnCall(i int, result1 config.Waiter, result2 error) {
1199 func (fake *Wrapper) MyID() protocol.DeviceID {
1217 func (fake *Wrapper) MyIDCallCount() int {
1223 func (fake *Wrapper) MyIDCalls(stub func() protocol.DeviceID) {
1229 func (fake *Wrapper) MyIDReturns(result1 protocol.DeviceID) {
1238 func (fake *Wrapper) MyIDReturnsOnCall(i int, result1 protocol.DeviceID) {
1252 func (fake *Wrapper) Options() config.OptionsConfiguration {
1270 func (fake *Wrapper) OptionsCallCount() int {
1276 func (fake *Wrapper) OptionsCalls(stub func() config.OptionsConfiguration) {
1282 func (fake *Wrapper) OptionsReturns(result1 config.OptionsConfiguration) {
1291 func (fake *Wrapper) OptionsReturnsOnCall(i int, result1 config.OptionsConfiguration) {
1305 func (fake *Wrapper) RawCopy() config.Configuration {
1323 func (fake *Wrapper) RawCopyCallCount() int {
1329 func (fake *Wrapper) RawCopyCalls(stub func() config.Configuration) {
1335 func (fake *Wrapper) RawCopyReturns(result1 config.Configuration) {
1344 func (fake *Wrapper) RawCopyReturnsOnCall(i int, result1 config.Configuration) {
1358 func (fake *Wrapper) RemoveDevice(arg1 protocol.DeviceID) (config.Waiter, error) {
1377 func (fake *Wrapper) RemoveDeviceCallCount() int {
1383 func (fake *Wrapper) RemoveDeviceCalls(stub func(protocol.DeviceID) (config.Waiter, error)) {
1389 func (fake *Wrapper) RemoveDeviceArgsForCall(i int) protocol.DeviceID {
1396 func (fake *Wrapper) RemoveDeviceReturns(result1 config.Waiter, result2 error) {
1406 func (fake *Wrapper) RemoveDeviceReturnsOnCall(i int, result1 config.Waiter, result2 error) {
1422 func (fake *Wrapper) RemoveFolder(arg1 string) (config.Waiter, error) {
1441 func (fake *Wrapper) RemoveFolderCallCount() int {
1447 func (fake *Wrapper) RemoveFolderCalls(stub func(string) (config.Waiter, error)) {
1453 func (fake *Wrapper) RemoveFolderArgsForCall(i int) string {
1460 func (fake *Wrapper) RemoveFolderReturns(result1 config.Waiter, result2 error) {
1470 func (fake *Wrapper) RemoveFolderReturnsOnCall(i int, result1 config.Waiter, result2 error) {
1486 func (fake *Wrapper) RequiresRestart() bool {
1504 func (fake *Wrapper) RequiresRestartCallCount() int {
1510 func (fake *Wrapper) RequiresRestartCalls(stub func() bool) {
1516 func (fake *Wrapper) RequiresRestartReturns(result1 bool) {
1525 func (fake *Wrapper) RequiresRestartReturnsOnCall(i int, result1 bool) {
1539 func (fake *Wrapper) Save() error {
1557 func (fake *Wrapper) SaveCallCount() int {
1563 func (fake *Wrapper) SaveCalls(stub func() error) {
1569 func (fake *Wrapper) SaveReturns(result1 error) {
1578 func (fake *Wrapper) SaveReturnsOnCall(i int, result1 error) {
1592 func (fake *Wrapper) Serve(arg1 context.Context) error {
1611 func (fake *Wrapper) ServeCallCount() int {
1617 func (fake *Wrapper) ServeCalls(stub func(context.Context) error) {
1623 func (fake *Wrapper) ServeArgsForCall(i int) context.Context {
1630 func (fake *Wrapper) ServeReturns(result1 error) {
1639 func (fake *Wrapper) ServeReturnsOnCall(i int, result1 error) {
1653 func (fake *Wrapper) Subscribe(arg1 config.Committer) config.Configuration {
1672 func (fake *Wrapper) SubscribeCallCount() int {
1678 func (fake *Wrapper) SubscribeCalls(stub func(config.Committer) config.Configuration) {
1684 func (fake *Wrapper) SubscribeArgsForCall(i int) config.Committer {
1691 func (fake *Wrapper) SubscribeReturns(result1 config.Configuration) {
1700 func (fake *Wrapper) SubscribeReturnsOnCall(i int, result1 config.Configuration) {
1714 func (fake *Wrapper) Unsubscribe(arg1 config.Committer) {
1727 func (fake *Wrapper) UnsubscribeCallCount() int {
1733 func (fake *Wrapper) UnsubscribeCalls(stub func(config.Committer)) {
1739 func (fake *Wrapper) UnsubscribeArgsForCall(i int) config.Committer {
1746 func (fake *Wrapper) Invocations() map[string][][]interface{} {
1808 func (fake *Wrapper) recordInvocation(key string, args []interface{}) {