fake

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 6 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

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

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, 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 MockServiceByNameCall

type MockServiceByNameCall struct {
	*gomock.Call
}

MockServiceByNameCall wrap *gomock.Call

func (*MockServiceByNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceByNameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceByNameCall) Return

Return rewrite *gomock.Call.Return

type MockServiceDeleteCall

type MockServiceDeleteCall struct {
	*gomock.Call
}

MockServiceDeleteCall wrap *gomock.Call

func (*MockServiceDeleteCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceDeleteCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceDeleteCall) Return

Return rewrite *gomock.Call.Return

type MockServiceDisposeCall

type MockServiceDisposeCall struct {
	*gomock.Call
}

MockServiceDisposeCall wrap *gomock.Call

func (*MockServiceDisposeCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceDisposeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceDisposeCall) Return

Return rewrite *gomock.Call.Return

type MockServiceDownloadCall

type MockServiceDownloadCall struct {
	*gomock.Call
}

MockServiceDownloadCall wrap *gomock.Call

func (*MockServiceDownloadCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceDownloadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceDownloadCall) Return

Return rewrite *gomock.Call.Return

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) ByName

ByName indicates an expected call of ByName.

func (*MockServiceMockRecorder) Delete

func (mr *MockServiceMockRecorder) Delete(arg0, arg1, arg2 any) *MockServiceDeleteCall

Delete indicates an expected call of Delete.

func (*MockServiceMockRecorder) Dispose

func (mr *MockServiceMockRecorder) Dispose(arg0, arg1, arg2 any) *MockServiceDisposeCall

Dispose indicates an expected call of Dispose.

func (*MockServiceMockRecorder) Download

func (mr *MockServiceMockRecorder) Download(arg0, arg1, arg2, arg3 any) *MockServiceDownloadCall

Download indicates an expected call of Download.

func (*MockServiceMockRecorder) Watchers

Watchers indicates an expected call of Watchers.

type MockServiceWatchersCall

type MockServiceWatchersCall struct {
	*gomock.Call
}

MockServiceWatchersCall wrap *gomock.Call

func (*MockServiceWatchersCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceWatchersCall) DoAndReturn

func (c *MockServiceWatchersCall) DoAndReturn(f func() []watcher.Watcher) *MockServiceWatchersCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceWatchersCall) Return

Return rewrite *gomock.Call.Return

type MockWatcher

type MockWatcher struct {
	// contains filtered or unexported fields
}

MockWatcher is a mock of Watcher interface.

func NewMockWatcher

func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher

NewMockWatcher creates a new mock instance.

func (*MockWatcher) CompletedDir

func (m *MockWatcher) CompletedDir() string

CompletedDir mocks base method.

func (*MockWatcher) Download

func (m *MockWatcher) Download(arg0 context.Context, arg1, arg2 string) error

Download mocks base method.

func (*MockWatcher) EXPECT

func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWatcher) OpenBucket

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

OpenBucket mocks base method.

func (*MockWatcher) Path

func (m *MockWatcher) Path() string

Path mocks base method.

func (*MockWatcher) RetentionPeriod

func (m *MockWatcher) RetentionPeriod() *time.Duration

RetentionPeriod mocks base method.

func (*MockWatcher) String

func (m *MockWatcher) String() string

String mocks base method.

func (*MockWatcher) StripTopLevelDir

func (m *MockWatcher) StripTopLevelDir() bool

StripTopLevelDir mocks base method.

func (*MockWatcher) Watch

Watch mocks base method.

type MockWatcherCompletedDirCall

type MockWatcherCompletedDirCall struct {
	*gomock.Call
}

MockWatcherCompletedDirCall wrap *gomock.Call

func (*MockWatcherCompletedDirCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherCompletedDirCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherCompletedDirCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherDownloadCall

type MockWatcherDownloadCall struct {
	*gomock.Call
}

MockWatcherDownloadCall wrap *gomock.Call

func (*MockWatcherDownloadCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherDownloadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherDownloadCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherMockRecorder

type MockWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockWatcherMockRecorder is the mock recorder for MockWatcher.

func (*MockWatcherMockRecorder) CompletedDir

CompletedDir indicates an expected call of CompletedDir.

func (*MockWatcherMockRecorder) Download

func (mr *MockWatcherMockRecorder) Download(arg0, arg1, arg2 any) *MockWatcherDownloadCall

Download indicates an expected call of Download.

func (*MockWatcherMockRecorder) OpenBucket

OpenBucket indicates an expected call of OpenBucket.

func (*MockWatcherMockRecorder) Path

Path indicates an expected call of Path.

func (*MockWatcherMockRecorder) RetentionPeriod

RetentionPeriod indicates an expected call of RetentionPeriod.

func (*MockWatcherMockRecorder) String

String indicates an expected call of String.

func (*MockWatcherMockRecorder) StripTopLevelDir

StripTopLevelDir indicates an expected call of StripTopLevelDir.

func (*MockWatcherMockRecorder) Watch

Watch indicates an expected call of Watch.

type MockWatcherOpenBucketCall

type MockWatcherOpenBucketCall struct {
	*gomock.Call
}

MockWatcherOpenBucketCall wrap *gomock.Call

func (*MockWatcherOpenBucketCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherOpenBucketCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherOpenBucketCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherPathCall

type MockWatcherPathCall struct {
	*gomock.Call
}

MockWatcherPathCall wrap *gomock.Call

func (*MockWatcherPathCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherPathCall) DoAndReturn

func (c *MockWatcherPathCall) DoAndReturn(f func() string) *MockWatcherPathCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherPathCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRetentionPeriodCall

type MockWatcherRetentionPeriodCall struct {
	*gomock.Call
}

MockWatcherRetentionPeriodCall wrap *gomock.Call

func (*MockWatcherRetentionPeriodCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRetentionPeriodCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRetentionPeriodCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherStringCall

type MockWatcherStringCall struct {
	*gomock.Call
}

MockWatcherStringCall wrap *gomock.Call

func (*MockWatcherStringCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherStringCall) DoAndReturn

func (c *MockWatcherStringCall) DoAndReturn(f func() string) *MockWatcherStringCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherStringCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherStripTopLevelDirCall

type MockWatcherStripTopLevelDirCall struct {
	*gomock.Call
}

MockWatcherStripTopLevelDirCall wrap *gomock.Call

func (*MockWatcherStripTopLevelDirCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherStripTopLevelDirCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherStripTopLevelDirCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherWatchCall

type MockWatcherWatchCall struct {
	*gomock.Call
}

MockWatcherWatchCall wrap *gomock.Call

func (*MockWatcherWatchCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherWatchCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherWatchCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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