fake

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Index

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) Download

func (m *MockService) Download(arg0 context.Context, arg1 io.Writer, arg2, arg3 string) error

Download 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

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

func (m *MockWatcher) OpenBucket(arg0 context.Context) (*blob.Bucket, error)

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.

func (*MockWatcher) Watch added in v0.41.0

func (m *MockWatcher) Watch(arg0 context.Context) (*watcher.BlobEvent, error)

Watch 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

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

Path indicates an expected call of Path.

func (*MockWatcherMockRecorder) Pipelines added in v0.41.0

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

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

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

type ServiceByNameCall struct {
	*gomock.Call
}

ServiceByNameCall wrap *gomock.Call

func (*ServiceByNameCall) Do added in v0.41.0

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

type ServiceDeleteCall struct {
	*gomock.Call
}

ServiceDeleteCall wrap *gomock.Call

func (*ServiceDeleteCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceDeleteCall) DoAndReturn added in v0.41.0

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

type ServiceDisposeCall struct {
	*gomock.Call
}

ServiceDisposeCall wrap *gomock.Call

func (*ServiceDisposeCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceDisposeCall) DoAndReturn added in v0.41.0

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

type ServiceDownloadCall struct {
	*gomock.Call
}

ServiceDownloadCall wrap *gomock.Call

func (*ServiceDownloadCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceDownloadCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceDownloadCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type ServiceWatchersCall added in v0.41.0

type ServiceWatchersCall struct {
	*gomock.Call
}

ServiceWatchersCall wrap *gomock.Call

func (*ServiceWatchersCall) Do added in v0.41.0

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

Return rewrite *gomock.Call.Return

type WatcherCompletedDirCall added in v0.41.0

type WatcherCompletedDirCall struct {
	*gomock.Call
}

WatcherCompletedDirCall wrap *gomock.Call

func (*WatcherCompletedDirCall) Do added in v0.41.0

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

Return rewrite *gomock.Call.Return

type WatcherExcludeHiddenFilesCall added in v0.41.0

type WatcherExcludeHiddenFilesCall struct {
	*gomock.Call
}

WatcherExcludeHiddenFilesCall wrap *gomock.Call

func (*WatcherExcludeHiddenFilesCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*WatcherExcludeHiddenFilesCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*WatcherExcludeHiddenFilesCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type WatcherOpenBucketCall added in v0.41.0

type WatcherOpenBucketCall struct {
	*gomock.Call
}

WatcherOpenBucketCall wrap *gomock.Call

func (*WatcherOpenBucketCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*WatcherOpenBucketCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*WatcherOpenBucketCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type WatcherPathCall added in v0.41.0

type WatcherPathCall struct {
	*gomock.Call
}

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

type WatcherPipelinesCall struct {
	*gomock.Call
}

WatcherPipelinesCall wrap *gomock.Call

func (*WatcherPipelinesCall) Do added in v0.41.0

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

Return rewrite *gomock.Call.Return

type WatcherRejectDuplicatesCall added in v0.41.0

type WatcherRejectDuplicatesCall struct {
	*gomock.Call
}

WatcherRejectDuplicatesCall wrap *gomock.Call

func (*WatcherRejectDuplicatesCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*WatcherRejectDuplicatesCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*WatcherRejectDuplicatesCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type WatcherRetentionPeriodCall added in v0.41.0

type WatcherRetentionPeriodCall struct {
	*gomock.Call
}

WatcherRetentionPeriodCall wrap *gomock.Call

func (*WatcherRetentionPeriodCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*WatcherRetentionPeriodCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*WatcherRetentionPeriodCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type WatcherStringCall added in v0.41.0

type WatcherStringCall struct {
	*gomock.Call
}

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

type WatcherStripTopLevelDirCall struct {
	*gomock.Call
}

WatcherStripTopLevelDirCall wrap *gomock.Call

func (*WatcherStripTopLevelDirCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*WatcherStripTopLevelDirCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*WatcherStripTopLevelDirCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type WatcherTransferTypeCall added in v0.41.0

type WatcherTransferTypeCall struct {
	*gomock.Call
}

WatcherTransferTypeCall wrap *gomock.Call

func (*WatcherTransferTypeCall) Do added in v0.41.0

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

Return rewrite *gomock.Call.Return

type WatcherWatchCall added in v0.41.0

type WatcherWatchCall struct {
	*gomock.Call
}

WatcherWatchCall wrap *gomock.Call

func (*WatcherWatchCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*WatcherWatchCall) DoAndReturn added in v0.41.0

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

Jump to

Keyboard shortcuts

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