mocks

package
v1.24.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	ConfigPathStub func() string

	DefaultDeviceStub func() config.DeviceConfiguration

	DefaultFolderStub func() config.FolderConfiguration

	DefaultIgnoresStub func() config.Ignores

	DeviceStub func(protocol.DeviceID) (config.DeviceConfiguration, bool)

	DeviceListStub func() []config.DeviceConfiguration

	DevicesStub func() map[protocol.DeviceID]config.DeviceConfiguration

	FolderStub func(string) (config.FolderConfiguration, bool)

	FolderListStub func() []config.FolderConfiguration

	FolderPasswordsStub func(protocol.DeviceID) map[string]string

	FoldersStub func() map[string]config.FolderConfiguration

	GUIStub func() config.GUIConfiguration

	IgnoredDeviceStub func(protocol.DeviceID) bool

	IgnoredDevicesStub func() []config.ObservedDevice

	IgnoredFolderStub func(protocol.DeviceID, string) bool

	LDAPStub func() config.LDAPConfiguration

	ModifyStub func(config.ModifyFunction) (config.Waiter, error)

	MyIDStub func() protocol.DeviceID

	OptionsStub func() config.OptionsConfiguration

	RawCopyStub func() config.Configuration

	RemoveDeviceStub func(protocol.DeviceID) (config.Waiter, error)

	RemoveFolderStub func(string) (config.Waiter, error)

	RequiresRestartStub func() bool

	SaveStub func() error

	ServeStub func(context.Context) error

	SubscribeStub func(config.Committer) config.Configuration

	UnsubscribeStub func(config.Committer)
	// contains filtered or unexported fields
}

func (*Wrapper) ConfigPath

func (fake *Wrapper) ConfigPath() string

func (*Wrapper) ConfigPathCallCount

func (fake *Wrapper) ConfigPathCallCount() int

func (*Wrapper) ConfigPathCalls

func (fake *Wrapper) ConfigPathCalls(stub func() string)

func (*Wrapper) ConfigPathReturns

func (fake *Wrapper) ConfigPathReturns(result1 string)

func (*Wrapper) ConfigPathReturnsOnCall

func (fake *Wrapper) ConfigPathReturnsOnCall(i int, result1 string)

func (*Wrapper) DefaultDevice

func (fake *Wrapper) DefaultDevice() config.DeviceConfiguration

func (*Wrapper) DefaultDeviceCallCount

func (fake *Wrapper) DefaultDeviceCallCount() int

func (*Wrapper) DefaultDeviceCalls

func (fake *Wrapper) DefaultDeviceCalls(stub func() config.DeviceConfiguration)

func (*Wrapper) DefaultDeviceReturns

func (fake *Wrapper) DefaultDeviceReturns(result1 config.DeviceConfiguration)

func (*Wrapper) DefaultDeviceReturnsOnCall

func (fake *Wrapper) DefaultDeviceReturnsOnCall(i int, result1 config.DeviceConfiguration)

func (*Wrapper) DefaultFolder

func (fake *Wrapper) DefaultFolder() config.FolderConfiguration

func (*Wrapper) DefaultFolderCallCount

func (fake *Wrapper) DefaultFolderCallCount() int

func (*Wrapper) DefaultFolderCalls

func (fake *Wrapper) DefaultFolderCalls(stub func() config.FolderConfiguration)

func (*Wrapper) DefaultFolderReturns

func (fake *Wrapper) DefaultFolderReturns(result1 config.FolderConfiguration)

func (*Wrapper) DefaultFolderReturnsOnCall

func (fake *Wrapper) DefaultFolderReturnsOnCall(i int, result1 config.FolderConfiguration)

func (*Wrapper) DefaultIgnores added in v1.19.0

func (fake *Wrapper) DefaultIgnores() config.Ignores

func (*Wrapper) DefaultIgnoresCallCount added in v1.19.0

func (fake *Wrapper) DefaultIgnoresCallCount() int

func (*Wrapper) DefaultIgnoresCalls added in v1.19.0

func (fake *Wrapper) DefaultIgnoresCalls(stub func() config.Ignores)

func (*Wrapper) DefaultIgnoresReturns added in v1.19.0

func (fake *Wrapper) DefaultIgnoresReturns(result1 config.Ignores)

func (*Wrapper) DefaultIgnoresReturnsOnCall added in v1.19.0

func (fake *Wrapper) DefaultIgnoresReturnsOnCall(i int, result1 config.Ignores)

func (*Wrapper) Device

func (fake *Wrapper) Device(arg1 protocol.DeviceID) (config.DeviceConfiguration, bool)

func (*Wrapper) DeviceArgsForCall

func (fake *Wrapper) DeviceArgsForCall(i int) protocol.DeviceID

func (*Wrapper) DeviceCallCount

func (fake *Wrapper) DeviceCallCount() int

func (*Wrapper) DeviceCalls

func (fake *Wrapper) DeviceCalls(stub func(protocol.DeviceID) (config.DeviceConfiguration, bool))

func (*Wrapper) DeviceList

func (fake *Wrapper) DeviceList() []config.DeviceConfiguration

func (*Wrapper) DeviceListCallCount

func (fake *Wrapper) DeviceListCallCount() int

func (*Wrapper) DeviceListCalls

func (fake *Wrapper) DeviceListCalls(stub func() []config.DeviceConfiguration)

func (*Wrapper) DeviceListReturns

func (fake *Wrapper) DeviceListReturns(result1 []config.DeviceConfiguration)

func (*Wrapper) DeviceListReturnsOnCall

func (fake *Wrapper) DeviceListReturnsOnCall(i int, result1 []config.DeviceConfiguration)

func (*Wrapper) DeviceReturns

func (fake *Wrapper) DeviceReturns(result1 config.DeviceConfiguration, result2 bool)

func (*Wrapper) DeviceReturnsOnCall

func (fake *Wrapper) DeviceReturnsOnCall(i int, result1 config.DeviceConfiguration, result2 bool)

func (*Wrapper) Devices

func (fake *Wrapper) Devices() map[protocol.DeviceID]config.DeviceConfiguration

func (*Wrapper) DevicesCallCount

func (fake *Wrapper) DevicesCallCount() int

func (*Wrapper) DevicesCalls

func (fake *Wrapper) DevicesCalls(stub func() map[protocol.DeviceID]config.DeviceConfiguration)

func (*Wrapper) DevicesReturns

func (fake *Wrapper) DevicesReturns(result1 map[protocol.DeviceID]config.DeviceConfiguration)

func (*Wrapper) DevicesReturnsOnCall

func (fake *Wrapper) DevicesReturnsOnCall(i int, result1 map[protocol.DeviceID]config.DeviceConfiguration)

func (*Wrapper) Folder

func (fake *Wrapper) Folder(arg1 string) (config.FolderConfiguration, bool)

func (*Wrapper) FolderArgsForCall

func (fake *Wrapper) FolderArgsForCall(i int) string

func (*Wrapper) FolderCallCount

func (fake *Wrapper) FolderCallCount() int

func (*Wrapper) FolderCalls

func (fake *Wrapper) FolderCalls(stub func(string) (config.FolderConfiguration, bool))

func (*Wrapper) FolderList

func (fake *Wrapper) FolderList() []config.FolderConfiguration

func (*Wrapper) FolderListCallCount

func (fake *Wrapper) FolderListCallCount() int

func (*Wrapper) FolderListCalls

func (fake *Wrapper) FolderListCalls(stub func() []config.FolderConfiguration)

func (*Wrapper) FolderListReturns

func (fake *Wrapper) FolderListReturns(result1 []config.FolderConfiguration)

func (*Wrapper) FolderListReturnsOnCall

func (fake *Wrapper) FolderListReturnsOnCall(i int, result1 []config.FolderConfiguration)

func (*Wrapper) FolderPasswords

func (fake *Wrapper) FolderPasswords(arg1 protocol.DeviceID) map[string]string

func (*Wrapper) FolderPasswordsArgsForCall

func (fake *Wrapper) FolderPasswordsArgsForCall(i int) protocol.DeviceID

func (*Wrapper) FolderPasswordsCallCount

func (fake *Wrapper) FolderPasswordsCallCount() int

func (*Wrapper) FolderPasswordsCalls

func (fake *Wrapper) FolderPasswordsCalls(stub func(protocol.DeviceID) map[string]string)

func (*Wrapper) FolderPasswordsReturns

func (fake *Wrapper) FolderPasswordsReturns(result1 map[string]string)

func (*Wrapper) FolderPasswordsReturnsOnCall

func (fake *Wrapper) FolderPasswordsReturnsOnCall(i int, result1 map[string]string)

func (*Wrapper) FolderReturns

func (fake *Wrapper) FolderReturns(result1 config.FolderConfiguration, result2 bool)

func (*Wrapper) FolderReturnsOnCall

func (fake *Wrapper) FolderReturnsOnCall(i int, result1 config.FolderConfiguration, result2 bool)

func (*Wrapper) Folders

func (fake *Wrapper) Folders() map[string]config.FolderConfiguration

func (*Wrapper) FoldersCallCount

func (fake *Wrapper) FoldersCallCount() int

func (*Wrapper) FoldersCalls

func (fake *Wrapper) FoldersCalls(stub func() map[string]config.FolderConfiguration)

func (*Wrapper) FoldersReturns

func (fake *Wrapper) FoldersReturns(result1 map[string]config.FolderConfiguration)

func (*Wrapper) FoldersReturnsOnCall

func (fake *Wrapper) FoldersReturnsOnCall(i int, result1 map[string]config.FolderConfiguration)

func (*Wrapper) GUI

func (fake *Wrapper) GUI() config.GUIConfiguration

func (*Wrapper) GUICallCount

func (fake *Wrapper) GUICallCount() int

func (*Wrapper) GUICalls

func (fake *Wrapper) GUICalls(stub func() config.GUIConfiguration)

func (*Wrapper) GUIReturns

func (fake *Wrapper) GUIReturns(result1 config.GUIConfiguration)

func (*Wrapper) GUIReturnsOnCall

func (fake *Wrapper) GUIReturnsOnCall(i int, result1 config.GUIConfiguration)

func (*Wrapper) IgnoredDevice

func (fake *Wrapper) IgnoredDevice(arg1 protocol.DeviceID) bool

func (*Wrapper) IgnoredDeviceArgsForCall

func (fake *Wrapper) IgnoredDeviceArgsForCall(i int) protocol.DeviceID

func (*Wrapper) IgnoredDeviceCallCount

func (fake *Wrapper) IgnoredDeviceCallCount() int

func (*Wrapper) IgnoredDeviceCalls

func (fake *Wrapper) IgnoredDeviceCalls(stub func(protocol.DeviceID) bool)

func (*Wrapper) IgnoredDeviceReturns

func (fake *Wrapper) IgnoredDeviceReturns(result1 bool)

func (*Wrapper) IgnoredDeviceReturnsOnCall

func (fake *Wrapper) IgnoredDeviceReturnsOnCall(i int, result1 bool)

func (*Wrapper) IgnoredDevices

func (fake *Wrapper) IgnoredDevices() []config.ObservedDevice

func (*Wrapper) IgnoredDevicesCallCount

func (fake *Wrapper) IgnoredDevicesCallCount() int

func (*Wrapper) IgnoredDevicesCalls

func (fake *Wrapper) IgnoredDevicesCalls(stub func() []config.ObservedDevice)

func (*Wrapper) IgnoredDevicesReturns

func (fake *Wrapper) IgnoredDevicesReturns(result1 []config.ObservedDevice)

func (*Wrapper) IgnoredDevicesReturnsOnCall

func (fake *Wrapper) IgnoredDevicesReturnsOnCall(i int, result1 []config.ObservedDevice)

func (*Wrapper) IgnoredFolder

func (fake *Wrapper) IgnoredFolder(arg1 protocol.DeviceID, arg2 string) bool

func (*Wrapper) IgnoredFolderArgsForCall

func (fake *Wrapper) IgnoredFolderArgsForCall(i int) (protocol.DeviceID, string)

func (*Wrapper) IgnoredFolderCallCount

func (fake *Wrapper) IgnoredFolderCallCount() int

func (*Wrapper) IgnoredFolderCalls

func (fake *Wrapper) IgnoredFolderCalls(stub func(protocol.DeviceID, string) bool)

func (*Wrapper) IgnoredFolderReturns

func (fake *Wrapper) IgnoredFolderReturns(result1 bool)

func (*Wrapper) IgnoredFolderReturnsOnCall

func (fake *Wrapper) IgnoredFolderReturnsOnCall(i int, result1 bool)

func (*Wrapper) Invocations

func (fake *Wrapper) Invocations() map[string][][]interface{}

func (*Wrapper) LDAP

func (fake *Wrapper) LDAP() config.LDAPConfiguration

func (*Wrapper) LDAPCallCount

func (fake *Wrapper) LDAPCallCount() int

func (*Wrapper) LDAPCalls

func (fake *Wrapper) LDAPCalls(stub func() config.LDAPConfiguration)

func (*Wrapper) LDAPReturns

func (fake *Wrapper) LDAPReturns(result1 config.LDAPConfiguration)

func (*Wrapper) LDAPReturnsOnCall

func (fake *Wrapper) LDAPReturnsOnCall(i int, result1 config.LDAPConfiguration)

func (*Wrapper) Modify

func (fake *Wrapper) Modify(arg1 config.ModifyFunction) (config.Waiter, error)

func (*Wrapper) ModifyArgsForCall

func (fake *Wrapper) ModifyArgsForCall(i int) config.ModifyFunction

func (*Wrapper) ModifyCallCount

func (fake *Wrapper) ModifyCallCount() int

func (*Wrapper) ModifyCalls

func (fake *Wrapper) ModifyCalls(stub func(config.ModifyFunction) (config.Waiter, error))

func (*Wrapper) ModifyReturns

func (fake *Wrapper) ModifyReturns(result1 config.Waiter, result2 error)

func (*Wrapper) ModifyReturnsOnCall

func (fake *Wrapper) ModifyReturnsOnCall(i int, result1 config.Waiter, result2 error)

func (*Wrapper) MyID

func (fake *Wrapper) MyID() protocol.DeviceID

func (*Wrapper) MyIDCallCount

func (fake *Wrapper) MyIDCallCount() int

func (*Wrapper) MyIDCalls

func (fake *Wrapper) MyIDCalls(stub func() protocol.DeviceID)

func (*Wrapper) MyIDReturns

func (fake *Wrapper) MyIDReturns(result1 protocol.DeviceID)

func (*Wrapper) MyIDReturnsOnCall

func (fake *Wrapper) MyIDReturnsOnCall(i int, result1 protocol.DeviceID)

func (*Wrapper) Options

func (fake *Wrapper) Options() config.OptionsConfiguration

func (*Wrapper) OptionsCallCount

func (fake *Wrapper) OptionsCallCount() int

func (*Wrapper) OptionsCalls

func (fake *Wrapper) OptionsCalls(stub func() config.OptionsConfiguration)

func (*Wrapper) OptionsReturns

func (fake *Wrapper) OptionsReturns(result1 config.OptionsConfiguration)

func (*Wrapper) OptionsReturnsOnCall

func (fake *Wrapper) OptionsReturnsOnCall(i int, result1 config.OptionsConfiguration)

func (*Wrapper) RawCopy

func (fake *Wrapper) RawCopy() config.Configuration

func (*Wrapper) RawCopyCallCount

func (fake *Wrapper) RawCopyCallCount() int

func (*Wrapper) RawCopyCalls

func (fake *Wrapper) RawCopyCalls(stub func() config.Configuration)

func (*Wrapper) RawCopyReturns

func (fake *Wrapper) RawCopyReturns(result1 config.Configuration)

func (*Wrapper) RawCopyReturnsOnCall

func (fake *Wrapper) RawCopyReturnsOnCall(i int, result1 config.Configuration)

func (*Wrapper) RemoveDevice

func (fake *Wrapper) RemoveDevice(arg1 protocol.DeviceID) (config.Waiter, error)

func (*Wrapper) RemoveDeviceArgsForCall

func (fake *Wrapper) RemoveDeviceArgsForCall(i int) protocol.DeviceID

func (*Wrapper) RemoveDeviceCallCount

func (fake *Wrapper) RemoveDeviceCallCount() int

func (*Wrapper) RemoveDeviceCalls

func (fake *Wrapper) RemoveDeviceCalls(stub func(protocol.DeviceID) (config.Waiter, error))

func (*Wrapper) RemoveDeviceReturns

func (fake *Wrapper) RemoveDeviceReturns(result1 config.Waiter, result2 error)

func (*Wrapper) RemoveDeviceReturnsOnCall

func (fake *Wrapper) RemoveDeviceReturnsOnCall(i int, result1 config.Waiter, result2 error)

func (*Wrapper) RemoveFolder

func (fake *Wrapper) RemoveFolder(arg1 string) (config.Waiter, error)

func (*Wrapper) RemoveFolderArgsForCall

func (fake *Wrapper) RemoveFolderArgsForCall(i int) string

func (*Wrapper) RemoveFolderCallCount

func (fake *Wrapper) RemoveFolderCallCount() int

func (*Wrapper) RemoveFolderCalls

func (fake *Wrapper) RemoveFolderCalls(stub func(string) (config.Waiter, error))

func (*Wrapper) RemoveFolderReturns

func (fake *Wrapper) RemoveFolderReturns(result1 config.Waiter, result2 error)

func (*Wrapper) RemoveFolderReturnsOnCall

func (fake *Wrapper) RemoveFolderReturnsOnCall(i int, result1 config.Waiter, result2 error)

func (*Wrapper) RequiresRestart

func (fake *Wrapper) RequiresRestart() bool

func (*Wrapper) RequiresRestartCallCount

func (fake *Wrapper) RequiresRestartCallCount() int

func (*Wrapper) RequiresRestartCalls

func (fake *Wrapper) RequiresRestartCalls(stub func() bool)

func (*Wrapper) RequiresRestartReturns

func (fake *Wrapper) RequiresRestartReturns(result1 bool)

func (*Wrapper) RequiresRestartReturnsOnCall

func (fake *Wrapper) RequiresRestartReturnsOnCall(i int, result1 bool)

func (*Wrapper) Save

func (fake *Wrapper) Save() error

func (*Wrapper) SaveCallCount

func (fake *Wrapper) SaveCallCount() int

func (*Wrapper) SaveCalls

func (fake *Wrapper) SaveCalls(stub func() error)

func (*Wrapper) SaveReturns

func (fake *Wrapper) SaveReturns(result1 error)

func (*Wrapper) SaveReturnsOnCall

func (fake *Wrapper) SaveReturnsOnCall(i int, result1 error)

func (*Wrapper) Serve

func (fake *Wrapper) Serve(arg1 context.Context) error

func (*Wrapper) ServeArgsForCall

func (fake *Wrapper) ServeArgsForCall(i int) context.Context

func (*Wrapper) ServeCallCount

func (fake *Wrapper) ServeCallCount() int

func (*Wrapper) ServeCalls

func (fake *Wrapper) ServeCalls(stub func(context.Context) error)

func (*Wrapper) ServeReturns

func (fake *Wrapper) ServeReturns(result1 error)

func (*Wrapper) ServeReturnsOnCall

func (fake *Wrapper) ServeReturnsOnCall(i int, result1 error)

func (*Wrapper) Subscribe

func (fake *Wrapper) Subscribe(arg1 config.Committer) config.Configuration

func (*Wrapper) SubscribeArgsForCall

func (fake *Wrapper) SubscribeArgsForCall(i int) config.Committer

func (*Wrapper) SubscribeCallCount

func (fake *Wrapper) SubscribeCallCount() int

func (*Wrapper) SubscribeCalls

func (fake *Wrapper) SubscribeCalls(stub func(config.Committer) config.Configuration)

func (*Wrapper) SubscribeReturns

func (fake *Wrapper) SubscribeReturns(result1 config.Configuration)

func (*Wrapper) SubscribeReturnsOnCall

func (fake *Wrapper) SubscribeReturnsOnCall(i int, result1 config.Configuration)

func (*Wrapper) Unsubscribe

func (fake *Wrapper) Unsubscribe(arg1 config.Committer)

func (*Wrapper) UnsubscribeArgsForCall

func (fake *Wrapper) UnsubscribeArgsForCall(i int) config.Committer

func (*Wrapper) UnsubscribeCallCount

func (fake *Wrapper) UnsubscribeCallCount() int

func (*Wrapper) UnsubscribeCalls

func (fake *Wrapper) UnsubscribeCalls(stub func(config.Committer))

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL