Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) ByName(arg0 string) (watcher.Watcher, error)
- func (m *MockService) Delete(arg0 context.Context, arg1, arg2 string) error
- func (m *MockService) Dispose(arg0 context.Context, arg1, arg2 string) error
- func (m *MockService) Download(arg0 context.Context, arg1 io.Writer, arg2, arg3 string) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Watchers() []watcher.Watcher
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) ByName(arg0 interface{}) *ServiceByNameCall
- func (mr *MockServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *ServiceDeleteCall
- func (mr *MockServiceMockRecorder) Dispose(arg0, arg1, arg2 interface{}) *ServiceDisposeCall
- func (mr *MockServiceMockRecorder) Download(arg0, arg1, arg2, arg3 interface{}) *ServiceDownloadCall
- func (mr *MockServiceMockRecorder) Watchers() *ServiceWatchersCall
- type MockWatcher
- func (m *MockWatcher) CompletedDir() string
- func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder
- func (m *MockWatcher) ExcludeHiddenFiles() bool
- func (m *MockWatcher) OpenBucket(arg0 context.Context) (*blob.Bucket, error)
- func (m *MockWatcher) Path() string
- func (m *MockWatcher) Pipelines() []string
- func (m *MockWatcher) RejectDuplicates() bool
- func (m *MockWatcher) RetentionPeriod() *time.Duration
- func (m *MockWatcher) String() string
- func (m *MockWatcher) StripTopLevelDir() bool
- func (m *MockWatcher) TransferType() string
- func (m *MockWatcher) Watch(arg0 context.Context) (*watcher.BlobEvent, error)
- type MockWatcherMockRecorder
- func (mr *MockWatcherMockRecorder) CompletedDir() *WatcherCompletedDirCall
- func (mr *MockWatcherMockRecorder) ExcludeHiddenFiles() *WatcherExcludeHiddenFilesCall
- func (mr *MockWatcherMockRecorder) OpenBucket(arg0 interface{}) *WatcherOpenBucketCall
- func (mr *MockWatcherMockRecorder) Path() *WatcherPathCall
- func (mr *MockWatcherMockRecorder) Pipelines() *WatcherPipelinesCall
- func (mr *MockWatcherMockRecorder) RejectDuplicates() *WatcherRejectDuplicatesCall
- func (mr *MockWatcherMockRecorder) RetentionPeriod() *WatcherRetentionPeriodCall
- func (mr *MockWatcherMockRecorder) String() *WatcherStringCall
- func (mr *MockWatcherMockRecorder) StripTopLevelDir() *WatcherStripTopLevelDirCall
- func (mr *MockWatcherMockRecorder) TransferType() *WatcherTransferTypeCall
- func (mr *MockWatcherMockRecorder) Watch(arg0 interface{}) *WatcherWatchCall
- type ServiceByNameCall
- type ServiceDeleteCall
- type ServiceDisposeCall
- type ServiceDownloadCall
- func (c *ServiceDownloadCall) Do(f func(context.Context, io.Writer, string, string) error) *ServiceDownloadCall
- func (c *ServiceDownloadCall) DoAndReturn(f func(context.Context, io.Writer, string, string) error) *ServiceDownloadCall
- func (c *ServiceDownloadCall) Return(arg0 error) *ServiceDownloadCall
- type ServiceWatchersCall
- type WatcherCompletedDirCall
- type WatcherExcludeHiddenFilesCall
- type WatcherOpenBucketCall
- func (c *WatcherOpenBucketCall) Do(f func(context.Context) (*blob.Bucket, error)) *WatcherOpenBucketCall
- func (c *WatcherOpenBucketCall) DoAndReturn(f func(context.Context) (*blob.Bucket, error)) *WatcherOpenBucketCall
- func (c *WatcherOpenBucketCall) Return(arg0 *blob.Bucket, arg1 error) *WatcherOpenBucketCall
- type WatcherPathCall
- type WatcherPipelinesCall
- type WatcherRejectDuplicatesCall
- type WatcherRetentionPeriodCall
- type WatcherStringCall
- type WatcherStripTopLevelDirCall
- type WatcherTransferTypeCall
- type WatcherWatchCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) ByName ¶ added in v0.34.0
func (m *MockService) ByName(arg0 string) (watcher.Watcher, error)
ByName mocks base method.
func (*MockService) Delete ¶
func (m *MockService) Delete(arg0 context.Context, arg1, arg2 string) error
Delete mocks base method.
func (*MockService) Dispose ¶ added in v0.34.0
func (m *MockService) Dispose(arg0 context.Context, arg1, arg2 string) error
Dispose mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Watchers ¶
func (m *MockService) Watchers() []watcher.Watcher
Watchers mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) ByName ¶ added in v0.34.0
func (mr *MockServiceMockRecorder) ByName(arg0 interface{}) *ServiceByNameCall
ByName indicates an expected call of ByName.
func (*MockServiceMockRecorder) Delete ¶
func (mr *MockServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *ServiceDeleteCall
Delete indicates an expected call of Delete.
func (*MockServiceMockRecorder) Dispose ¶ added in v0.34.0
func (mr *MockServiceMockRecorder) Dispose(arg0, arg1, arg2 interface{}) *ServiceDisposeCall
Dispose indicates an expected call of Dispose.
func (*MockServiceMockRecorder) Download ¶
func (mr *MockServiceMockRecorder) Download(arg0, arg1, arg2, arg3 interface{}) *ServiceDownloadCall
Download indicates an expected call of Download.
func (*MockServiceMockRecorder) Watchers ¶
func (mr *MockServiceMockRecorder) Watchers() *ServiceWatchersCall
Watchers indicates an expected call of Watchers.
type MockWatcher ¶ added in v0.41.0
type MockWatcher struct {
// contains filtered or unexported fields
}
MockWatcher is a mock of Watcher interface.
func NewMockWatcher ¶ added in v0.41.0
func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher
NewMockWatcher creates a new mock instance.
func (*MockWatcher) CompletedDir ¶ added in v0.41.0
func (m *MockWatcher) CompletedDir() string
CompletedDir mocks base method.
func (*MockWatcher) EXPECT ¶ added in v0.41.0
func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWatcher) ExcludeHiddenFiles ¶ added in v0.41.0
func (m *MockWatcher) ExcludeHiddenFiles() bool
ExcludeHiddenFiles mocks base method.
func (*MockWatcher) OpenBucket ¶ added in v0.41.0
OpenBucket mocks base method.
func (*MockWatcher) Path ¶ added in v0.41.0
func (m *MockWatcher) Path() string
Path mocks base method.
func (*MockWatcher) Pipelines ¶ added in v0.41.0
func (m *MockWatcher) Pipelines() []string
Pipelines mocks base method.
func (*MockWatcher) RejectDuplicates ¶ added in v0.41.0
func (m *MockWatcher) RejectDuplicates() bool
RejectDuplicates mocks base method.
func (*MockWatcher) RetentionPeriod ¶ added in v0.41.0
func (m *MockWatcher) RetentionPeriod() *time.Duration
RetentionPeriod mocks base method.
func (*MockWatcher) String ¶ added in v0.41.0
func (m *MockWatcher) String() string
String mocks base method.
func (*MockWatcher) StripTopLevelDir ¶ added in v0.41.0
func (m *MockWatcher) StripTopLevelDir() bool
StripTopLevelDir mocks base method.
func (*MockWatcher) TransferType ¶ added in v0.41.0
func (m *MockWatcher) TransferType() string
TransferType mocks base method.
type MockWatcherMockRecorder ¶ added in v0.41.0
type MockWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockWatcherMockRecorder is the mock recorder for MockWatcher.
func (*MockWatcherMockRecorder) CompletedDir ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) CompletedDir() *WatcherCompletedDirCall
CompletedDir indicates an expected call of CompletedDir.
func (*MockWatcherMockRecorder) ExcludeHiddenFiles ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) ExcludeHiddenFiles() *WatcherExcludeHiddenFilesCall
ExcludeHiddenFiles indicates an expected call of ExcludeHiddenFiles.
func (*MockWatcherMockRecorder) OpenBucket ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) OpenBucket(arg0 interface{}) *WatcherOpenBucketCall
OpenBucket indicates an expected call of OpenBucket.
func (*MockWatcherMockRecorder) Path ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) Path() *WatcherPathCall
Path indicates an expected call of Path.
func (*MockWatcherMockRecorder) Pipelines ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) Pipelines() *WatcherPipelinesCall
Pipelines indicates an expected call of Pipelines.
func (*MockWatcherMockRecorder) RejectDuplicates ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) RejectDuplicates() *WatcherRejectDuplicatesCall
RejectDuplicates indicates an expected call of RejectDuplicates.
func (*MockWatcherMockRecorder) RetentionPeriod ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) RetentionPeriod() *WatcherRetentionPeriodCall
RetentionPeriod indicates an expected call of RetentionPeriod.
func (*MockWatcherMockRecorder) String ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) String() *WatcherStringCall
String indicates an expected call of String.
func (*MockWatcherMockRecorder) StripTopLevelDir ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) StripTopLevelDir() *WatcherStripTopLevelDirCall
StripTopLevelDir indicates an expected call of StripTopLevelDir.
func (*MockWatcherMockRecorder) TransferType ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) TransferType() *WatcherTransferTypeCall
TransferType indicates an expected call of TransferType.
func (*MockWatcherMockRecorder) Watch ¶ added in v0.41.0
func (mr *MockWatcherMockRecorder) Watch(arg0 interface{}) *WatcherWatchCall
Watch indicates an expected call of Watch.
type ServiceByNameCall ¶ added in v0.41.0
ServiceByNameCall wrap *gomock.Call
func (*ServiceByNameCall) Do ¶ added in v0.41.0
func (c *ServiceByNameCall) Do(f func(string) (watcher.Watcher, error)) *ServiceByNameCall
Do rewrite *gomock.Call.Do
func (*ServiceByNameCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceByNameCall) DoAndReturn(f func(string) (watcher.Watcher, error)) *ServiceByNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceByNameCall) Return ¶ added in v0.41.0
func (c *ServiceByNameCall) Return(arg0 watcher.Watcher, arg1 error) *ServiceByNameCall
Return rewrite *gomock.Call.Return
type ServiceDeleteCall ¶ added in v0.41.0
ServiceDeleteCall wrap *gomock.Call
func (*ServiceDeleteCall) Do ¶ added in v0.41.0
func (c *ServiceDeleteCall) Do(f func(context.Context, string, string) error) *ServiceDeleteCall
Do rewrite *gomock.Call.Do
func (*ServiceDeleteCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceDeleteCall) DoAndReturn(f func(context.Context, string, string) error) *ServiceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceDeleteCall) Return ¶ added in v0.41.0
func (c *ServiceDeleteCall) Return(arg0 error) *ServiceDeleteCall
Return rewrite *gomock.Call.Return
type ServiceDisposeCall ¶ added in v0.41.0
ServiceDisposeCall wrap *gomock.Call
func (*ServiceDisposeCall) Do ¶ added in v0.41.0
func (c *ServiceDisposeCall) Do(f func(context.Context, string, string) error) *ServiceDisposeCall
Do rewrite *gomock.Call.Do
func (*ServiceDisposeCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceDisposeCall) DoAndReturn(f func(context.Context, string, string) error) *ServiceDisposeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceDisposeCall) Return ¶ added in v0.41.0
func (c *ServiceDisposeCall) Return(arg0 error) *ServiceDisposeCall
Return rewrite *gomock.Call.Return
type ServiceDownloadCall ¶ added in v0.41.0
ServiceDownloadCall wrap *gomock.Call
func (*ServiceDownloadCall) Do ¶ added in v0.41.0
func (c *ServiceDownloadCall) Do(f func(context.Context, io.Writer, string, string) error) *ServiceDownloadCall
Do rewrite *gomock.Call.Do
func (*ServiceDownloadCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceDownloadCall) DoAndReturn(f func(context.Context, io.Writer, string, string) error) *ServiceDownloadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceDownloadCall) Return ¶ added in v0.41.0
func (c *ServiceDownloadCall) Return(arg0 error) *ServiceDownloadCall
Return rewrite *gomock.Call.Return
type ServiceWatchersCall ¶ added in v0.41.0
ServiceWatchersCall wrap *gomock.Call
func (*ServiceWatchersCall) Do ¶ added in v0.41.0
func (c *ServiceWatchersCall) Do(f func() []watcher.Watcher) *ServiceWatchersCall
Do rewrite *gomock.Call.Do
func (*ServiceWatchersCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceWatchersCall) DoAndReturn(f func() []watcher.Watcher) *ServiceWatchersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceWatchersCall) Return ¶ added in v0.41.0
func (c *ServiceWatchersCall) Return(arg0 []watcher.Watcher) *ServiceWatchersCall
Return rewrite *gomock.Call.Return
type WatcherCompletedDirCall ¶ added in v0.41.0
WatcherCompletedDirCall wrap *gomock.Call
func (*WatcherCompletedDirCall) Do ¶ added in v0.41.0
func (c *WatcherCompletedDirCall) Do(f func() string) *WatcherCompletedDirCall
Do rewrite *gomock.Call.Do
func (*WatcherCompletedDirCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherCompletedDirCall) DoAndReturn(f func() string) *WatcherCompletedDirCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherCompletedDirCall) Return ¶ added in v0.41.0
func (c *WatcherCompletedDirCall) Return(arg0 string) *WatcherCompletedDirCall
Return rewrite *gomock.Call.Return
type WatcherExcludeHiddenFilesCall ¶ added in v0.41.0
WatcherExcludeHiddenFilesCall wrap *gomock.Call
func (*WatcherExcludeHiddenFilesCall) Do ¶ added in v0.41.0
func (c *WatcherExcludeHiddenFilesCall) Do(f func() bool) *WatcherExcludeHiddenFilesCall
Do rewrite *gomock.Call.Do
func (*WatcherExcludeHiddenFilesCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherExcludeHiddenFilesCall) DoAndReturn(f func() bool) *WatcherExcludeHiddenFilesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherExcludeHiddenFilesCall) Return ¶ added in v0.41.0
func (c *WatcherExcludeHiddenFilesCall) Return(arg0 bool) *WatcherExcludeHiddenFilesCall
Return rewrite *gomock.Call.Return
type WatcherOpenBucketCall ¶ added in v0.41.0
WatcherOpenBucketCall wrap *gomock.Call
func (*WatcherOpenBucketCall) Do ¶ added in v0.41.0
func (c *WatcherOpenBucketCall) Do(f func(context.Context) (*blob.Bucket, error)) *WatcherOpenBucketCall
Do rewrite *gomock.Call.Do
func (*WatcherOpenBucketCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherOpenBucketCall) DoAndReturn(f func(context.Context) (*blob.Bucket, error)) *WatcherOpenBucketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherOpenBucketCall) Return ¶ added in v0.41.0
func (c *WatcherOpenBucketCall) Return(arg0 *blob.Bucket, arg1 error) *WatcherOpenBucketCall
Return rewrite *gomock.Call.Return
type WatcherPathCall ¶ added in v0.41.0
WatcherPathCall wrap *gomock.Call
func (*WatcherPathCall) Do ¶ added in v0.41.0
func (c *WatcherPathCall) Do(f func() string) *WatcherPathCall
Do rewrite *gomock.Call.Do
func (*WatcherPathCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherPathCall) DoAndReturn(f func() string) *WatcherPathCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherPathCall) Return ¶ added in v0.41.0
func (c *WatcherPathCall) Return(arg0 string) *WatcherPathCall
Return rewrite *gomock.Call.Return
type WatcherPipelinesCall ¶ added in v0.41.0
WatcherPipelinesCall wrap *gomock.Call
func (*WatcherPipelinesCall) Do ¶ added in v0.41.0
func (c *WatcherPipelinesCall) Do(f func() []string) *WatcherPipelinesCall
Do rewrite *gomock.Call.Do
func (*WatcherPipelinesCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherPipelinesCall) DoAndReturn(f func() []string) *WatcherPipelinesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherPipelinesCall) Return ¶ added in v0.41.0
func (c *WatcherPipelinesCall) Return(arg0 []string) *WatcherPipelinesCall
Return rewrite *gomock.Call.Return
type WatcherRejectDuplicatesCall ¶ added in v0.41.0
WatcherRejectDuplicatesCall wrap *gomock.Call
func (*WatcherRejectDuplicatesCall) Do ¶ added in v0.41.0
func (c *WatcherRejectDuplicatesCall) Do(f func() bool) *WatcherRejectDuplicatesCall
Do rewrite *gomock.Call.Do
func (*WatcherRejectDuplicatesCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherRejectDuplicatesCall) DoAndReturn(f func() bool) *WatcherRejectDuplicatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherRejectDuplicatesCall) Return ¶ added in v0.41.0
func (c *WatcherRejectDuplicatesCall) Return(arg0 bool) *WatcherRejectDuplicatesCall
Return rewrite *gomock.Call.Return
type WatcherRetentionPeriodCall ¶ added in v0.41.0
WatcherRetentionPeriodCall wrap *gomock.Call
func (*WatcherRetentionPeriodCall) Do ¶ added in v0.41.0
func (c *WatcherRetentionPeriodCall) Do(f func() *time.Duration) *WatcherRetentionPeriodCall
Do rewrite *gomock.Call.Do
func (*WatcherRetentionPeriodCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherRetentionPeriodCall) DoAndReturn(f func() *time.Duration) *WatcherRetentionPeriodCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherRetentionPeriodCall) Return ¶ added in v0.41.0
func (c *WatcherRetentionPeriodCall) Return(arg0 *time.Duration) *WatcherRetentionPeriodCall
Return rewrite *gomock.Call.Return
type WatcherStringCall ¶ added in v0.41.0
WatcherStringCall wrap *gomock.Call
func (*WatcherStringCall) Do ¶ added in v0.41.0
func (c *WatcherStringCall) Do(f func() string) *WatcherStringCall
Do rewrite *gomock.Call.Do
func (*WatcherStringCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherStringCall) DoAndReturn(f func() string) *WatcherStringCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherStringCall) Return ¶ added in v0.41.0
func (c *WatcherStringCall) Return(arg0 string) *WatcherStringCall
Return rewrite *gomock.Call.Return
type WatcherStripTopLevelDirCall ¶ added in v0.41.0
WatcherStripTopLevelDirCall wrap *gomock.Call
func (*WatcherStripTopLevelDirCall) Do ¶ added in v0.41.0
func (c *WatcherStripTopLevelDirCall) Do(f func() bool) *WatcherStripTopLevelDirCall
Do rewrite *gomock.Call.Do
func (*WatcherStripTopLevelDirCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherStripTopLevelDirCall) DoAndReturn(f func() bool) *WatcherStripTopLevelDirCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherStripTopLevelDirCall) Return ¶ added in v0.41.0
func (c *WatcherStripTopLevelDirCall) Return(arg0 bool) *WatcherStripTopLevelDirCall
Return rewrite *gomock.Call.Return
type WatcherTransferTypeCall ¶ added in v0.41.0
WatcherTransferTypeCall wrap *gomock.Call
func (*WatcherTransferTypeCall) Do ¶ added in v0.41.0
func (c *WatcherTransferTypeCall) Do(f func() string) *WatcherTransferTypeCall
Do rewrite *gomock.Call.Do
func (*WatcherTransferTypeCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherTransferTypeCall) DoAndReturn(f func() string) *WatcherTransferTypeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherTransferTypeCall) Return ¶ added in v0.41.0
func (c *WatcherTransferTypeCall) Return(arg0 string) *WatcherTransferTypeCall
Return rewrite *gomock.Call.Return
type WatcherWatchCall ¶ added in v0.41.0
WatcherWatchCall wrap *gomock.Call
func (*WatcherWatchCall) Do ¶ added in v0.41.0
func (c *WatcherWatchCall) Do(f func(context.Context) (*watcher.BlobEvent, error)) *WatcherWatchCall
Do rewrite *gomock.Call.Do
func (*WatcherWatchCall) DoAndReturn ¶ added in v0.41.0
func (c *WatcherWatchCall) DoAndReturn(f func(context.Context) (*watcher.BlobEvent, error)) *WatcherWatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*WatcherWatchCall) Return ¶ added in v0.41.0
func (c *WatcherWatchCall) Return(arg0 *watcher.BlobEvent, arg1 error) *WatcherWatchCall
Return rewrite *gomock.Call.Return