Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FolderSummaryService
- func (fake *FolderSummaryService) Invocations() map[string][][]interface{}
- func (fake *FolderSummaryService) OnEventRequest()
- func (fake *FolderSummaryService) OnEventRequestCallCount() int
- func (fake *FolderSummaryService) OnEventRequestCalls(stub func())
- func (fake *FolderSummaryService) Serve(arg1 context.Context) error
- func (fake *FolderSummaryService) ServeArgsForCall(i int) context.Context
- func (fake *FolderSummaryService) ServeCallCount() int
- func (fake *FolderSummaryService) ServeCalls(stub func(context.Context) error)
- func (fake *FolderSummaryService) ServeReturns(result1 error)
- func (fake *FolderSummaryService) ServeReturnsOnCall(i int, result1 error)
- func (fake *FolderSummaryService) Summary(arg1 string) (map[string]interface{}, error)
- func (fake *FolderSummaryService) SummaryArgsForCall(i int) string
- func (fake *FolderSummaryService) SummaryCallCount() int
- func (fake *FolderSummaryService) SummaryCalls(stub func(string) (map[string]interface{}, error))
- func (fake *FolderSummaryService) SummaryReturns(result1 map[string]interface{}, result2 error)
- func (fake *FolderSummaryService) SummaryReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- type Model
- func (fake *Model) AddConnection(arg1 protocol.Connection, arg2 protocol.Hello)
- func (fake *Model) AddConnectionArgsForCall(i int) (protocol.Connection, protocol.Hello)
- func (fake *Model) AddConnectionCallCount() int
- func (fake *Model) AddConnectionCalls(stub func(protocol.Connection, protocol.Hello))
- func (fake *Model) Availability(arg1 string, arg2 protocol.FileInfo, arg3 protocol.BlockInfo) ([]model.Availability, error)
- func (fake *Model) AvailabilityArgsForCall(i int) (string, protocol.FileInfo, protocol.BlockInfo)
- func (fake *Model) AvailabilityCallCount() int
- func (fake *Model) AvailabilityCalls(...)
- func (fake *Model) AvailabilityReturns(result1 []model.Availability, result2 error)
- func (fake *Model) AvailabilityReturnsOnCall(i int, result1 []model.Availability, result2 error)
- func (fake *Model) BringToFront(arg1 string, arg2 string)
- func (fake *Model) BringToFrontArgsForCall(i int) (string, string)
- func (fake *Model) BringToFrontCallCount() int
- func (fake *Model) BringToFrontCalls(stub func(string, string))
- func (fake *Model) Closed(arg1 protocol.DeviceID, arg2 error)
- func (fake *Model) ClosedArgsForCall(i int) (protocol.DeviceID, error)
- func (fake *Model) ClosedCallCount() int
- func (fake *Model) ClosedCalls(stub func(protocol.DeviceID, error))
- func (fake *Model) ClusterConfig(arg1 protocol.DeviceID, arg2 protocol.ClusterConfig) error
- func (fake *Model) ClusterConfigArgsForCall(i int) (protocol.DeviceID, protocol.ClusterConfig)
- func (fake *Model) ClusterConfigCallCount() int
- func (fake *Model) ClusterConfigCalls(stub func(protocol.DeviceID, protocol.ClusterConfig) error)
- func (fake *Model) ClusterConfigReturns(result1 error)
- func (fake *Model) ClusterConfigReturnsOnCall(i int, result1 error)
- func (fake *Model) Completion(arg1 protocol.DeviceID, arg2 string) (model.FolderCompletion, error)
- func (fake *Model) CompletionArgsForCall(i int) (protocol.DeviceID, string)
- func (fake *Model) CompletionCallCount() int
- func (fake *Model) CompletionCalls(stub func(protocol.DeviceID, string) (model.FolderCompletion, error))
- func (fake *Model) CompletionReturns(result1 model.FolderCompletion, result2 error)
- func (fake *Model) CompletionReturnsOnCall(i int, result1 model.FolderCompletion, result2 error)
- func (fake *Model) Connection(arg1 protocol.DeviceID) (protocol.Connection, bool)
- func (fake *Model) ConnectionArgsForCall(i int) protocol.DeviceID
- func (fake *Model) ConnectionCallCount() int
- func (fake *Model) ConnectionCalls(stub func(protocol.DeviceID) (protocol.Connection, bool))
- func (fake *Model) ConnectionReturns(result1 protocol.Connection, result2 bool)
- func (fake *Model) ConnectionReturnsOnCall(i int, result1 protocol.Connection, result2 bool)
- func (fake *Model) ConnectionStats() map[string]interface{}
- func (fake *Model) ConnectionStatsCallCount() int
- func (fake *Model) ConnectionStatsCalls(stub func() map[string]interface{})
- func (fake *Model) ConnectionStatsReturns(result1 map[string]interface{})
- func (fake *Model) ConnectionStatsReturnsOnCall(i int, result1 map[string]interface{})
- func (fake *Model) CurrentFolderFile(arg1 string, arg2 string) (protocol.FileInfo, bool, error)
- func (fake *Model) CurrentFolderFileArgsForCall(i int) (string, string)
- func (fake *Model) CurrentFolderFileCallCount() int
- func (fake *Model) CurrentFolderFileCalls(stub func(string, string) (protocol.FileInfo, bool, error))
- func (fake *Model) CurrentFolderFileReturns(result1 protocol.FileInfo, result2 bool, result3 error)
- func (fake *Model) CurrentFolderFileReturnsOnCall(i int, result1 protocol.FileInfo, result2 bool, result3 error)
- func (fake *Model) CurrentGlobalFile(arg1 string, arg2 string) (protocol.FileInfo, bool, error)
- func (fake *Model) CurrentGlobalFileArgsForCall(i int) (string, string)
- func (fake *Model) CurrentGlobalFileCallCount() int
- func (fake *Model) CurrentGlobalFileCalls(stub func(string, string) (protocol.FileInfo, bool, error))
- func (fake *Model) CurrentGlobalFileReturns(result1 protocol.FileInfo, result2 bool, result3 error)
- func (fake *Model) CurrentGlobalFileReturnsOnCall(i int, result1 protocol.FileInfo, result2 bool, result3 error)
- func (fake *Model) CurrentIgnores(arg1 string) ([]string, []string, error)
- func (fake *Model) CurrentIgnoresArgsForCall(i int) string
- func (fake *Model) CurrentIgnoresCallCount() int
- func (fake *Model) CurrentIgnoresCalls(stub func(string) ([]string, []string, error))
- func (fake *Model) CurrentIgnoresReturns(result1 []string, result2 []string, result3 error)
- func (fake *Model) CurrentIgnoresReturnsOnCall(i int, result1 []string, result2 []string, result3 error)
- func (fake *Model) DBSnapshot(arg1 string) (*db.Snapshot, error)
- func (fake *Model) DBSnapshotArgsForCall(i int) string
- func (fake *Model) DBSnapshotCallCount() int
- func (fake *Model) DBSnapshotCalls(stub func(string) (*db.Snapshot, error))
- func (fake *Model) DBSnapshotReturns(result1 *db.Snapshot, result2 error)
- func (fake *Model) DBSnapshotReturnsOnCall(i int, result1 *db.Snapshot, result2 error)
- func (fake *Model) DelayScan(arg1 string, arg2 time.Duration)
- func (fake *Model) DelayScanArgsForCall(i int) (string, time.Duration)
- func (fake *Model) DelayScanCallCount() int
- func (fake *Model) DelayScanCalls(stub func(string, time.Duration))
- func (fake *Model) DeviceStatistics() (map[protocol.DeviceID]stats.DeviceStatistics, error)
- func (fake *Model) DeviceStatisticsCallCount() int
- func (fake *Model) DeviceStatisticsCalls(stub func() (map[protocol.DeviceID]stats.DeviceStatistics, error))
- func (fake *Model) DeviceStatisticsReturns(result1 map[protocol.DeviceID]stats.DeviceStatistics, result2 error)
- func (fake *Model) DeviceStatisticsReturnsOnCall(i int, result1 map[protocol.DeviceID]stats.DeviceStatistics, result2 error)
- func (fake *Model) DownloadProgress(arg1 protocol.DeviceID, arg2 string, ...) error
- func (fake *Model) DownloadProgressArgsForCall(i int) (protocol.DeviceID, string, []protocol.FileDownloadProgressUpdate)
- func (fake *Model) DownloadProgressCallCount() int
- func (fake *Model) DownloadProgressCalls(...)
- func (fake *Model) DownloadProgressReturns(result1 error)
- func (fake *Model) DownloadProgressReturnsOnCall(i int, result1 error)
- func (fake *Model) FolderErrors(arg1 string) ([]model.FileError, error)
- func (fake *Model) FolderErrorsArgsForCall(i int) string
- func (fake *Model) FolderErrorsCallCount() int
- func (fake *Model) FolderErrorsCalls(stub func(string) ([]model.FileError, error))
- func (fake *Model) FolderErrorsReturns(result1 []model.FileError, result2 error)
- func (fake *Model) FolderErrorsReturnsOnCall(i int, result1 []model.FileError, result2 error)
- func (fake *Model) FolderProgressBytesCompleted(arg1 string) int64
- func (fake *Model) FolderProgressBytesCompletedArgsForCall(i int) string
- func (fake *Model) FolderProgressBytesCompletedCallCount() int
- func (fake *Model) FolderProgressBytesCompletedCalls(stub func(string) int64)
- func (fake *Model) FolderProgressBytesCompletedReturns(result1 int64)
- func (fake *Model) FolderProgressBytesCompletedReturnsOnCall(i int, result1 int64)
- func (fake *Model) FolderStatistics() (map[string]stats.FolderStatistics, error)
- func (fake *Model) FolderStatisticsCallCount() int
- func (fake *Model) FolderStatisticsCalls(stub func() (map[string]stats.FolderStatistics, error))
- func (fake *Model) FolderStatisticsReturns(result1 map[string]stats.FolderStatistics, result2 error)
- func (fake *Model) FolderStatisticsReturnsOnCall(i int, result1 map[string]stats.FolderStatistics, result2 error)
- func (fake *Model) GetFolderVersions(arg1 string) (map[string][]versioner.FileVersion, error)
- func (fake *Model) GetFolderVersionsArgsForCall(i int) string
- func (fake *Model) GetFolderVersionsCallCount() int
- func (fake *Model) GetFolderVersionsCalls(stub func(string) (map[string][]versioner.FileVersion, error))
- func (fake *Model) GetFolderVersionsReturns(result1 map[string][]versioner.FileVersion, result2 error)
- func (fake *Model) GetFolderVersionsReturnsOnCall(i int, result1 map[string][]versioner.FileVersion, result2 error)
- func (fake *Model) GetHello(arg1 protocol.DeviceID) protocol.HelloIntf
- func (fake *Model) GetHelloArgsForCall(i int) protocol.DeviceID
- func (fake *Model) GetHelloCallCount() int
- func (fake *Model) GetHelloCalls(stub func(protocol.DeviceID) protocol.HelloIntf)
- func (fake *Model) GetHelloReturns(result1 protocol.HelloIntf)
- func (fake *Model) GetHelloReturnsOnCall(i int, result1 protocol.HelloIntf)
- func (fake *Model) GlobalDirectoryTree(arg1 string, arg2 string, arg3 int, arg4 bool) ([]*model.TreeEntry, error)
- func (fake *Model) GlobalDirectoryTreeArgsForCall(i int) (string, string, int, bool)
- func (fake *Model) GlobalDirectoryTreeCallCount() int
- func (fake *Model) GlobalDirectoryTreeCalls(stub func(string, string, int, bool) ([]*model.TreeEntry, error))
- func (fake *Model) GlobalDirectoryTreeReturns(result1 []*model.TreeEntry, result2 error)
- func (fake *Model) GlobalDirectoryTreeReturnsOnCall(i int, result1 []*model.TreeEntry, result2 error)
- func (fake *Model) Index(arg1 protocol.DeviceID, arg2 string, arg3 []protocol.FileInfo) error
- func (fake *Model) IndexArgsForCall(i int) (protocol.DeviceID, string, []protocol.FileInfo)
- func (fake *Model) IndexCallCount() int
- func (fake *Model) IndexCalls(stub func(protocol.DeviceID, string, []protocol.FileInfo) error)
- func (fake *Model) IndexReturns(result1 error)
- func (fake *Model) IndexReturnsOnCall(i int, result1 error)
- func (fake *Model) IndexUpdate(arg1 protocol.DeviceID, arg2 string, arg3 []protocol.FileInfo) error
- func (fake *Model) IndexUpdateArgsForCall(i int) (protocol.DeviceID, string, []protocol.FileInfo)
- func (fake *Model) IndexUpdateCallCount() int
- func (fake *Model) IndexUpdateCalls(stub func(protocol.DeviceID, string, []protocol.FileInfo) error)
- func (fake *Model) IndexUpdateReturns(result1 error)
- func (fake *Model) IndexUpdateReturnsOnCall(i int, result1 error)
- func (fake *Model) Invocations() map[string][][]interface{}
- func (fake *Model) LoadIgnores(arg1 string) ([]string, []string, error)
- func (fake *Model) LoadIgnoresArgsForCall(i int) string
- func (fake *Model) LoadIgnoresCallCount() int
- func (fake *Model) LoadIgnoresCalls(stub func(string) ([]string, []string, error))
- func (fake *Model) LoadIgnoresReturns(result1 []string, result2 []string, result3 error)
- func (fake *Model) LoadIgnoresReturnsOnCall(i int, result1 []string, result2 []string, result3 error)
- func (fake *Model) LocalChangedFolderFiles(arg1 string, arg2 int, arg3 int) ([]db.FileInfoTruncated, error)
- func (fake *Model) LocalChangedFolderFilesArgsForCall(i int) (string, int, int)
- func (fake *Model) LocalChangedFolderFilesCallCount() int
- func (fake *Model) LocalChangedFolderFilesCalls(stub func(string, int, int) ([]db.FileInfoTruncated, error))
- func (fake *Model) LocalChangedFolderFilesReturns(result1 []db.FileInfoTruncated, result2 error)
- func (fake *Model) LocalChangedFolderFilesReturnsOnCall(i int, result1 []db.FileInfoTruncated, result2 error)
- func (fake *Model) NeedFolderFiles(arg1 string, arg2 int, arg3 int) ([]db.FileInfoTruncated, []db.FileInfoTruncated, []db.FileInfoTruncated, error)
- func (fake *Model) NeedFolderFilesArgsForCall(i int) (string, int, int)
- func (fake *Model) NeedFolderFilesCallCount() int
- func (fake *Model) NeedFolderFilesCalls(...)
- func (fake *Model) NeedFolderFilesReturns(result1 []db.FileInfoTruncated, result2 []db.FileInfoTruncated, ...)
- func (fake *Model) NeedFolderFilesReturnsOnCall(i int, result1 []db.FileInfoTruncated, result2 []db.FileInfoTruncated, ...)
- func (fake *Model) NumConnections() int
- func (fake *Model) NumConnectionsCallCount() int
- func (fake *Model) NumConnectionsCalls(stub func() int)
- func (fake *Model) NumConnectionsReturns(result1 int)
- func (fake *Model) NumConnectionsReturnsOnCall(i int, result1 int)
- func (fake *Model) OnHello(arg1 protocol.DeviceID, arg2 net.Addr, arg3 protocol.Hello) error
- func (fake *Model) OnHelloArgsForCall(i int) (protocol.DeviceID, net.Addr, protocol.Hello)
- func (fake *Model) OnHelloCallCount() int
- func (fake *Model) OnHelloCalls(stub func(protocol.DeviceID, net.Addr, protocol.Hello) error)
- func (fake *Model) OnHelloReturns(result1 error)
- func (fake *Model) OnHelloReturnsOnCall(i int, result1 error)
- func (fake *Model) Override(arg1 string)
- func (fake *Model) OverrideArgsForCall(i int) string
- func (fake *Model) OverrideCallCount() int
- func (fake *Model) OverrideCalls(stub func(string))
- func (fake *Model) PendingDevices() (map[protocol.DeviceID]db.ObservedDevice, error)
- func (fake *Model) PendingDevicesCallCount() int
- func (fake *Model) PendingDevicesCalls(stub func() (map[protocol.DeviceID]db.ObservedDevice, error))
- func (fake *Model) PendingDevicesReturns(result1 map[protocol.DeviceID]db.ObservedDevice, result2 error)
- func (fake *Model) PendingDevicesReturnsOnCall(i int, result1 map[protocol.DeviceID]db.ObservedDevice, result2 error)
- func (fake *Model) PendingFolders(arg1 protocol.DeviceID) (map[string]db.PendingFolder, error)
- func (fake *Model) PendingFoldersArgsForCall(i int) protocol.DeviceID
- func (fake *Model) PendingFoldersCallCount() int
- func (fake *Model) PendingFoldersCalls(stub func(protocol.DeviceID) (map[string]db.PendingFolder, error))
- func (fake *Model) PendingFoldersReturns(result1 map[string]db.PendingFolder, result2 error)
- func (fake *Model) PendingFoldersReturnsOnCall(i int, result1 map[string]db.PendingFolder, result2 error)
- func (fake *Model) RemoteNeedFolderFiles(arg1 string, arg2 protocol.DeviceID, arg3 int, arg4 int) ([]db.FileInfoTruncated, error)
- func (fake *Model) RemoteNeedFolderFilesArgsForCall(i int) (string, protocol.DeviceID, int, int)
- func (fake *Model) RemoteNeedFolderFilesCallCount() int
- func (fake *Model) RemoteNeedFolderFilesCalls(stub func(string, protocol.DeviceID, int, int) ([]db.FileInfoTruncated, error))
- func (fake *Model) RemoteNeedFolderFilesReturns(result1 []db.FileInfoTruncated, result2 error)
- func (fake *Model) RemoteNeedFolderFilesReturnsOnCall(i int, result1 []db.FileInfoTruncated, result2 error)
- func (fake *Model) Request(arg1 protocol.DeviceID, arg2 string, arg3 string, arg4 int32, arg5 int32, ...) (protocol.RequestResponse, error)
- func (fake *Model) RequestArgsForCall(i int) (protocol.DeviceID, string, string, int32, int32, int64, []byte, uint32, bool)
- func (fake *Model) RequestCallCount() int
- func (fake *Model) RequestCalls(...)
- func (fake *Model) RequestReturns(result1 protocol.RequestResponse, result2 error)
- func (fake *Model) RequestReturnsOnCall(i int, result1 protocol.RequestResponse, result2 error)
- func (fake *Model) ResetFolder(arg1 string)
- func (fake *Model) ResetFolderArgsForCall(i int) string
- func (fake *Model) ResetFolderCallCount() int
- func (fake *Model) ResetFolderCalls(stub func(string))
- func (fake *Model) RestoreFolderVersions(arg1 string, arg2 map[string]time.Time) (map[string]error, error)
- func (fake *Model) RestoreFolderVersionsArgsForCall(i int) (string, map[string]time.Time)
- func (fake *Model) RestoreFolderVersionsCallCount() int
- func (fake *Model) RestoreFolderVersionsCalls(stub func(string, map[string]time.Time) (map[string]error, error))
- func (fake *Model) RestoreFolderVersionsReturns(result1 map[string]error, result2 error)
- func (fake *Model) RestoreFolderVersionsReturnsOnCall(i int, result1 map[string]error, result2 error)
- func (fake *Model) Revert(arg1 string)
- func (fake *Model) RevertArgsForCall(i int) string
- func (fake *Model) RevertCallCount() int
- func (fake *Model) RevertCalls(stub func(string))
- func (fake *Model) ScanFolder(arg1 string) error
- func (fake *Model) ScanFolderArgsForCall(i int) string
- func (fake *Model) ScanFolderCallCount() int
- func (fake *Model) ScanFolderCalls(stub func(string) error)
- func (fake *Model) ScanFolderReturns(result1 error)
- func (fake *Model) ScanFolderReturnsOnCall(i int, result1 error)
- func (fake *Model) ScanFolderSubdirs(arg1 string, arg2 []string) error
- func (fake *Model) ScanFolderSubdirsArgsForCall(i int) (string, []string)
- func (fake *Model) ScanFolderSubdirsCallCount() int
- func (fake *Model) ScanFolderSubdirsCalls(stub func(string, []string) error)
- func (fake *Model) ScanFolderSubdirsReturns(result1 error)
- func (fake *Model) ScanFolderSubdirsReturnsOnCall(i int, result1 error)
- func (fake *Model) ScanFolders() map[string]error
- func (fake *Model) ScanFoldersCallCount() int
- func (fake *Model) ScanFoldersCalls(stub func() map[string]error)
- func (fake *Model) ScanFoldersReturns(result1 map[string]error)
- func (fake *Model) ScanFoldersReturnsOnCall(i int, result1 map[string]error)
- func (fake *Model) Serve(arg1 context.Context) error
- func (fake *Model) ServeArgsForCall(i int) context.Context
- func (fake *Model) ServeCallCount() int
- func (fake *Model) ServeCalls(stub func(context.Context) error)
- func (fake *Model) ServeReturns(result1 error)
- func (fake *Model) ServeReturnsOnCall(i int, result1 error)
- func (fake *Model) SetIgnores(arg1 string, arg2 []string) error
- func (fake *Model) SetIgnoresArgsForCall(i int) (string, []string)
- func (fake *Model) SetIgnoresCallCount() int
- func (fake *Model) SetIgnoresCalls(stub func(string, []string) error)
- func (fake *Model) SetIgnoresReturns(result1 error)
- func (fake *Model) SetIgnoresReturnsOnCall(i int, result1 error)
- func (fake *Model) StartDeadlockDetector(arg1 time.Duration)
- func (fake *Model) StartDeadlockDetectorArgsForCall(i int) time.Duration
- func (fake *Model) StartDeadlockDetectorCallCount() int
- func (fake *Model) StartDeadlockDetectorCalls(stub func(time.Duration))
- func (fake *Model) State(arg1 string) (string, time.Time, error)
- func (fake *Model) StateArgsForCall(i int) string
- func (fake *Model) StateCallCount() int
- func (fake *Model) StateCalls(stub func(string) (string, time.Time, error))
- func (fake *Model) StateReturns(result1 string, result2 time.Time, result3 error)
- func (fake *Model) StateReturnsOnCall(i int, result1 string, result2 time.Time, result3 error)
- func (fake *Model) UsageReportingStats(arg1 *contract.Report, arg2 int, arg3 bool)
- func (fake *Model) UsageReportingStatsArgsForCall(i int) (*contract.Report, int, bool)
- func (fake *Model) UsageReportingStatsCallCount() int
- func (fake *Model) UsageReportingStatsCalls(stub func(*contract.Report, int, bool))
- func (fake *Model) WatchError(arg1 string) error
- func (fake *Model) WatchErrorArgsForCall(i int) string
- func (fake *Model) WatchErrorCallCount() int
- func (fake *Model) WatchErrorCalls(stub func(string) error)
- func (fake *Model) WatchErrorReturns(result1 error)
- func (fake *Model) WatchErrorReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FolderSummaryService ¶
type FolderSummaryService struct { OnEventRequestStub func() ServeStub func(context.Context) error SummaryStub func(string) (map[string]interface{}, error) // contains filtered or unexported fields }
func (*FolderSummaryService) Invocations ¶
func (fake *FolderSummaryService) Invocations() map[string][][]interface{}
func (*FolderSummaryService) OnEventRequest ¶
func (fake *FolderSummaryService) OnEventRequest()
func (*FolderSummaryService) OnEventRequestCallCount ¶
func (fake *FolderSummaryService) OnEventRequestCallCount() int
func (*FolderSummaryService) OnEventRequestCalls ¶
func (fake *FolderSummaryService) OnEventRequestCalls(stub func())
func (*FolderSummaryService) Serve ¶
func (fake *FolderSummaryService) Serve(arg1 context.Context) error
func (*FolderSummaryService) ServeArgsForCall ¶
func (fake *FolderSummaryService) ServeArgsForCall(i int) context.Context
func (*FolderSummaryService) ServeCallCount ¶
func (fake *FolderSummaryService) ServeCallCount() int
func (*FolderSummaryService) ServeCalls ¶
func (fake *FolderSummaryService) ServeCalls(stub func(context.Context) error)
func (*FolderSummaryService) ServeReturns ¶
func (fake *FolderSummaryService) ServeReturns(result1 error)
func (*FolderSummaryService) ServeReturnsOnCall ¶
func (fake *FolderSummaryService) ServeReturnsOnCall(i int, result1 error)
func (*FolderSummaryService) Summary ¶
func (fake *FolderSummaryService) Summary(arg1 string) (map[string]interface{}, error)
func (*FolderSummaryService) SummaryArgsForCall ¶
func (fake *FolderSummaryService) SummaryArgsForCall(i int) string
func (*FolderSummaryService) SummaryCallCount ¶
func (fake *FolderSummaryService) SummaryCallCount() int
func (*FolderSummaryService) SummaryCalls ¶
func (fake *FolderSummaryService) SummaryCalls(stub func(string) (map[string]interface{}, error))
func (*FolderSummaryService) SummaryReturns ¶
func (fake *FolderSummaryService) SummaryReturns(result1 map[string]interface{}, result2 error)
func (*FolderSummaryService) SummaryReturnsOnCall ¶
func (fake *FolderSummaryService) SummaryReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
type Model ¶
type Model struct { AddConnectionStub func(protocol.Connection, protocol.Hello) AvailabilityStub func(string, protocol.FileInfo, protocol.BlockInfo) ([]model.Availability, error) BringToFrontStub func(string, string) ClosedStub func(protocol.DeviceID, error) ClusterConfigStub func(protocol.DeviceID, protocol.ClusterConfig) error CompletionStub func(protocol.DeviceID, string) (model.FolderCompletion, error) ConnectionStub func(protocol.DeviceID) (protocol.Connection, bool) ConnectionStatsStub func() map[string]interface{} CurrentFolderFileStub func(string, string) (protocol.FileInfo, bool, error) CurrentGlobalFileStub func(string, string) (protocol.FileInfo, bool, error) CurrentIgnoresStub func(string) ([]string, []string, error) DBSnapshotStub func(string) (*db.Snapshot, error) DelayScanStub func(string, time.Duration) DeviceStatisticsStub func() (map[protocol.DeviceID]stats.DeviceStatistics, error) DownloadProgressStub func(protocol.DeviceID, string, []protocol.FileDownloadProgressUpdate) error FolderErrorsStub func(string) ([]model.FileError, error) FolderProgressBytesCompletedStub func(string) int64 FolderStatisticsStub func() (map[string]stats.FolderStatistics, error) GetFolderVersionsStub func(string) (map[string][]versioner.FileVersion, error) GetHelloStub func(protocol.DeviceID) protocol.HelloIntf GlobalDirectoryTreeStub func(string, string, int, bool) ([]*model.TreeEntry, error) IndexStub func(protocol.DeviceID, string, []protocol.FileInfo) error IndexUpdateStub func(protocol.DeviceID, string, []protocol.FileInfo) error LoadIgnoresStub func(string) ([]string, []string, error) LocalChangedFolderFilesStub func(string, int, int) ([]db.FileInfoTruncated, error) NeedFolderFilesStub func(string, int, int) ([]db.FileInfoTruncated, []db.FileInfoTruncated, []db.FileInfoTruncated, error) NumConnectionsStub func() int OnHelloStub func(protocol.DeviceID, net.Addr, protocol.Hello) error OverrideStub func(string) PendingDevicesStub func() (map[protocol.DeviceID]db.ObservedDevice, error) PendingFoldersStub func(protocol.DeviceID) (map[string]db.PendingFolder, error) RemoteNeedFolderFilesStub func(string, protocol.DeviceID, int, int) ([]db.FileInfoTruncated, error) RequestStub func(protocol.DeviceID, string, string, int32, int32, int64, []byte, uint32, bool) (protocol.RequestResponse, error) ResetFolderStub func(string) RestoreFolderVersionsStub func(string, map[string]time.Time) (map[string]error, error) RevertStub func(string) ScanFolderStub func(string) error ScanFolderSubdirsStub func(string, []string) error ScanFoldersStub func() map[string]error ServeStub func(context.Context) error SetIgnoresStub func(string, []string) error StartDeadlockDetectorStub func(time.Duration) StateStub func(string) (string, time.Time, error) UsageReportingStatsStub func(*contract.Report, int, bool) WatchErrorStub func(string) error // contains filtered or unexported fields }
func (*Model) AddConnection ¶
func (fake *Model) AddConnection(arg1 protocol.Connection, arg2 protocol.Hello)
func (*Model) AddConnectionArgsForCall ¶
func (*Model) AddConnectionCallCount ¶
func (*Model) AddConnectionCalls ¶
func (fake *Model) AddConnectionCalls(stub func(protocol.Connection, protocol.Hello))
func (*Model) Availability ¶
func (*Model) AvailabilityArgsForCall ¶
func (*Model) AvailabilityCallCount ¶
func (*Model) AvailabilityCalls ¶
func (*Model) AvailabilityReturns ¶
func (fake *Model) AvailabilityReturns(result1 []model.Availability, result2 error)
func (*Model) AvailabilityReturnsOnCall ¶
func (fake *Model) AvailabilityReturnsOnCall(i int, result1 []model.Availability, result2 error)
func (*Model) BringToFront ¶
func (*Model) BringToFrontArgsForCall ¶
func (*Model) BringToFrontCallCount ¶
func (*Model) BringToFrontCalls ¶
func (*Model) ClosedArgsForCall ¶
func (*Model) ClosedCallCount ¶
func (*Model) ClusterConfig ¶
func (*Model) ClusterConfigArgsForCall ¶
func (*Model) ClusterConfigCallCount ¶
func (*Model) ClusterConfigCalls ¶
func (*Model) ClusterConfigReturns ¶
func (*Model) ClusterConfigReturnsOnCall ¶
func (*Model) Completion ¶
func (*Model) CompletionArgsForCall ¶
func (*Model) CompletionCallCount ¶
func (*Model) CompletionCalls ¶
func (*Model) CompletionReturns ¶
func (fake *Model) CompletionReturns(result1 model.FolderCompletion, result2 error)
func (*Model) CompletionReturnsOnCall ¶
func (fake *Model) CompletionReturnsOnCall(i int, result1 model.FolderCompletion, result2 error)
func (*Model) Connection ¶
func (*Model) ConnectionArgsForCall ¶
func (*Model) ConnectionCallCount ¶
func (*Model) ConnectionCalls ¶
func (*Model) ConnectionReturns ¶
func (fake *Model) ConnectionReturns(result1 protocol.Connection, result2 bool)
func (*Model) ConnectionReturnsOnCall ¶
func (fake *Model) ConnectionReturnsOnCall(i int, result1 protocol.Connection, result2 bool)
func (*Model) ConnectionStats ¶
func (*Model) ConnectionStatsCallCount ¶
func (*Model) ConnectionStatsCalls ¶
func (*Model) ConnectionStatsReturns ¶
func (*Model) ConnectionStatsReturnsOnCall ¶
func (*Model) CurrentFolderFile ¶
func (*Model) CurrentFolderFileArgsForCall ¶
func (*Model) CurrentFolderFileCallCount ¶
func (*Model) CurrentFolderFileCalls ¶
func (*Model) CurrentFolderFileReturns ¶
func (*Model) CurrentFolderFileReturnsOnCall ¶
func (*Model) CurrentGlobalFile ¶
func (*Model) CurrentGlobalFileArgsForCall ¶
func (*Model) CurrentGlobalFileCallCount ¶
func (*Model) CurrentGlobalFileCalls ¶
func (*Model) CurrentGlobalFileReturns ¶
func (*Model) CurrentGlobalFileReturnsOnCall ¶
func (*Model) CurrentIgnores ¶
func (*Model) CurrentIgnoresArgsForCall ¶
func (*Model) CurrentIgnoresCallCount ¶
func (*Model) CurrentIgnoresCalls ¶
func (*Model) CurrentIgnoresReturns ¶
func (*Model) CurrentIgnoresReturnsOnCall ¶
func (*Model) DBSnapshotArgsForCall ¶
func (*Model) DBSnapshotCallCount ¶
func (*Model) DBSnapshotCalls ¶
func (*Model) DBSnapshotReturns ¶
func (*Model) DBSnapshotReturnsOnCall ¶
func (*Model) DelayScanArgsForCall ¶
func (*Model) DelayScanCallCount ¶
func (*Model) DeviceStatistics ¶
func (*Model) DeviceStatisticsCallCount ¶
func (*Model) DeviceStatisticsCalls ¶
func (*Model) DeviceStatisticsReturns ¶
func (*Model) DeviceStatisticsReturnsOnCall ¶
func (*Model) DownloadProgress ¶
func (*Model) DownloadProgressArgsForCall ¶
func (*Model) DownloadProgressCallCount ¶
func (*Model) DownloadProgressCalls ¶
func (*Model) DownloadProgressReturns ¶
func (*Model) DownloadProgressReturnsOnCall ¶
func (*Model) FolderErrors ¶
func (*Model) FolderErrorsArgsForCall ¶
func (*Model) FolderErrorsCallCount ¶
func (*Model) FolderErrorsCalls ¶
func (*Model) FolderErrorsReturns ¶
func (*Model) FolderErrorsReturnsOnCall ¶
func (*Model) FolderProgressBytesCompleted ¶
func (*Model) FolderProgressBytesCompletedArgsForCall ¶
func (*Model) FolderProgressBytesCompletedCallCount ¶
func (*Model) FolderProgressBytesCompletedCalls ¶
func (*Model) FolderProgressBytesCompletedReturns ¶
func (*Model) FolderProgressBytesCompletedReturnsOnCall ¶
func (*Model) FolderStatistics ¶
func (fake *Model) FolderStatistics() (map[string]stats.FolderStatistics, error)
func (*Model) FolderStatisticsCallCount ¶
func (*Model) FolderStatisticsCalls ¶
func (fake *Model) FolderStatisticsCalls(stub func() (map[string]stats.FolderStatistics, error))
func (*Model) FolderStatisticsReturns ¶
func (fake *Model) FolderStatisticsReturns(result1 map[string]stats.FolderStatistics, result2 error)
func (*Model) FolderStatisticsReturnsOnCall ¶
func (*Model) GetFolderVersions ¶
func (*Model) GetFolderVersionsArgsForCall ¶
func (*Model) GetFolderVersionsCallCount ¶
func (*Model) GetFolderVersionsCalls ¶
func (*Model) GetFolderVersionsReturns ¶
func (fake *Model) GetFolderVersionsReturns(result1 map[string][]versioner.FileVersion, result2 error)
func (*Model) GetFolderVersionsReturnsOnCall ¶
func (*Model) GetHelloCallCount ¶
func (*Model) GetHelloCalls ¶
func (*Model) GetHelloReturns ¶
func (*Model) GetHelloReturnsOnCall ¶
func (*Model) GlobalDirectoryTree ¶
func (*Model) GlobalDirectoryTreeArgsForCall ¶
func (*Model) GlobalDirectoryTreeCallCount ¶
func (*Model) GlobalDirectoryTreeCalls ¶
func (*Model) GlobalDirectoryTreeReturns ¶
func (*Model) GlobalDirectoryTreeReturnsOnCall ¶
func (*Model) IndexArgsForCall ¶
func (*Model) IndexCallCount ¶
func (*Model) IndexCalls ¶
func (*Model) IndexReturns ¶
func (*Model) IndexReturnsOnCall ¶
func (*Model) IndexUpdate ¶
func (*Model) IndexUpdateArgsForCall ¶
func (*Model) IndexUpdateCallCount ¶
func (*Model) IndexUpdateCalls ¶
func (*Model) IndexUpdateReturns ¶
func (*Model) IndexUpdateReturnsOnCall ¶
func (*Model) Invocations ¶
func (*Model) LoadIgnoresArgsForCall ¶
func (*Model) LoadIgnoresCallCount ¶
func (*Model) LoadIgnoresCalls ¶
func (*Model) LoadIgnoresReturns ¶
func (*Model) LoadIgnoresReturnsOnCall ¶
func (*Model) LocalChangedFolderFiles ¶
func (*Model) LocalChangedFolderFilesArgsForCall ¶
func (*Model) LocalChangedFolderFilesCallCount ¶
func (*Model) LocalChangedFolderFilesCalls ¶
func (*Model) LocalChangedFolderFilesReturns ¶
func (fake *Model) LocalChangedFolderFilesReturns(result1 []db.FileInfoTruncated, result2 error)
func (*Model) LocalChangedFolderFilesReturnsOnCall ¶
func (fake *Model) LocalChangedFolderFilesReturnsOnCall(i int, result1 []db.FileInfoTruncated, result2 error)
func (*Model) NeedFolderFiles ¶
func (fake *Model) NeedFolderFiles(arg1 string, arg2 int, arg3 int) ([]db.FileInfoTruncated, []db.FileInfoTruncated, []db.FileInfoTruncated, error)
func (*Model) NeedFolderFilesArgsForCall ¶
func (*Model) NeedFolderFilesCallCount ¶
func (*Model) NeedFolderFilesCalls ¶
func (fake *Model) NeedFolderFilesCalls(stub func(string, int, int) ([]db.FileInfoTruncated, []db.FileInfoTruncated, []db.FileInfoTruncated, error))
func (*Model) NeedFolderFilesReturns ¶
func (fake *Model) NeedFolderFilesReturns(result1 []db.FileInfoTruncated, result2 []db.FileInfoTruncated, result3 []db.FileInfoTruncated, result4 error)
func (*Model) NeedFolderFilesReturnsOnCall ¶
func (fake *Model) NeedFolderFilesReturnsOnCall(i int, result1 []db.FileInfoTruncated, result2 []db.FileInfoTruncated, result3 []db.FileInfoTruncated, result4 error)
func (*Model) NumConnections ¶
func (*Model) NumConnectionsCallCount ¶
func (*Model) NumConnectionsCalls ¶
func (*Model) NumConnectionsReturns ¶
func (*Model) NumConnectionsReturnsOnCall ¶
func (*Model) OnHelloArgsForCall ¶
func (*Model) OnHelloCallCount ¶
func (*Model) OnHelloCalls ¶
func (*Model) OnHelloReturns ¶
func (*Model) OnHelloReturnsOnCall ¶
func (*Model) OverrideArgsForCall ¶
func (*Model) OverrideCallCount ¶
func (*Model) OverrideCalls ¶
func (*Model) PendingDevices ¶
func (*Model) PendingDevicesCallCount ¶
func (*Model) PendingDevicesCalls ¶
func (*Model) PendingDevicesReturns ¶
func (*Model) PendingDevicesReturnsOnCall ¶
func (*Model) PendingFolders ¶
func (*Model) PendingFoldersArgsForCall ¶
func (*Model) PendingFoldersCallCount ¶
func (*Model) PendingFoldersCalls ¶
func (*Model) PendingFoldersReturns ¶
func (fake *Model) PendingFoldersReturns(result1 map[string]db.PendingFolder, result2 error)
func (*Model) PendingFoldersReturnsOnCall ¶
func (*Model) RemoteNeedFolderFiles ¶
func (*Model) RemoteNeedFolderFilesArgsForCall ¶
func (*Model) RemoteNeedFolderFilesCallCount ¶
func (*Model) RemoteNeedFolderFilesCalls ¶
func (*Model) RemoteNeedFolderFilesReturns ¶
func (fake *Model) RemoteNeedFolderFilesReturns(result1 []db.FileInfoTruncated, result2 error)
func (*Model) RemoteNeedFolderFilesReturnsOnCall ¶
func (fake *Model) RemoteNeedFolderFilesReturnsOnCall(i int, result1 []db.FileInfoTruncated, result2 error)
func (*Model) RequestArgsForCall ¶
func (*Model) RequestCallCount ¶
func (*Model) RequestCalls ¶
func (*Model) RequestReturns ¶
func (fake *Model) RequestReturns(result1 protocol.RequestResponse, result2 error)
func (*Model) RequestReturnsOnCall ¶
func (fake *Model) RequestReturnsOnCall(i int, result1 protocol.RequestResponse, result2 error)
func (*Model) ResetFolder ¶
func (*Model) ResetFolderArgsForCall ¶
func (*Model) ResetFolderCallCount ¶
func (*Model) ResetFolderCalls ¶
func (*Model) RestoreFolderVersions ¶
func (*Model) RestoreFolderVersionsArgsForCall ¶
func (*Model) RestoreFolderVersionsCallCount ¶
func (*Model) RestoreFolderVersionsCalls ¶
func (*Model) RestoreFolderVersionsReturns ¶
func (*Model) RestoreFolderVersionsReturnsOnCall ¶
func (*Model) RevertArgsForCall ¶
func (*Model) RevertCallCount ¶
func (*Model) RevertCalls ¶
func (*Model) ScanFolder ¶
func (*Model) ScanFolderArgsForCall ¶
func (*Model) ScanFolderCallCount ¶
func (*Model) ScanFolderCalls ¶
func (*Model) ScanFolderReturns ¶
func (*Model) ScanFolderReturnsOnCall ¶
func (*Model) ScanFolderSubdirs ¶
func (*Model) ScanFolderSubdirsArgsForCall ¶
func (*Model) ScanFolderSubdirsCallCount ¶
func (*Model) ScanFolderSubdirsCalls ¶
func (*Model) ScanFolderSubdirsReturns ¶
func (*Model) ScanFolderSubdirsReturnsOnCall ¶
func (*Model) ScanFolders ¶
func (*Model) ScanFoldersCallCount ¶
func (*Model) ScanFoldersCalls ¶
func (*Model) ScanFoldersReturns ¶
func (*Model) ScanFoldersReturnsOnCall ¶
func (*Model) ServeCallCount ¶
func (*Model) ServeReturns ¶
func (*Model) ServeReturnsOnCall ¶
func (*Model) SetIgnoresArgsForCall ¶
func (*Model) SetIgnoresCallCount ¶
func (*Model) SetIgnoresCalls ¶
func (*Model) SetIgnoresReturns ¶
func (*Model) SetIgnoresReturnsOnCall ¶
func (*Model) StartDeadlockDetector ¶
func (*Model) StartDeadlockDetectorArgsForCall ¶
func (*Model) StartDeadlockDetectorCallCount ¶
func (*Model) StartDeadlockDetectorCalls ¶
func (*Model) StateArgsForCall ¶
func (*Model) StateCallCount ¶
func (*Model) StateCalls ¶
func (*Model) StateReturns ¶
func (*Model) StateReturnsOnCall ¶
func (*Model) UsageReportingStats ¶
func (*Model) UsageReportingStatsArgsForCall ¶
func (*Model) UsageReportingStatsCallCount ¶
func (*Model) UsageReportingStatsCalls ¶
func (*Model) WatchError ¶
func (*Model) WatchErrorArgsForCall ¶
func (*Model) WatchErrorCallCount ¶
func (*Model) WatchErrorCalls ¶
func (*Model) WatchErrorReturns ¶
func (*Model) WatchErrorReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.