syncermock

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package syncermock is a generated GoMock package.

Package syncermock is a generated GoMock package.

Package syncermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockArchiver

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

MockArchiver is a mock of Archiver interface.

func NewMockArchiver

func NewMockArchiver(ctrl *gomock.Controller) *MockArchiver

NewMockArchiver creates a new mock instance.

func (*MockArchiver) Do

func (m *MockArchiver) Do(ctx context.Context, root string, w io.Writer) error

Do mocks base method.

func (*MockArchiver) EXPECT

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

type MockArchiverMockRecorder

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

MockArchiverMockRecorder is the mock recorder for MockArchiver.

func (*MockArchiverMockRecorder) Do

func (mr *MockArchiverMockRecorder) Do(ctx, root, w interface{}) *gomock.Call

Do indicates an expected call of Do.

type MockLocalStorage

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

MockLocalStorage is a mock of LocalStorage interface.

func NewMockLocalStorage

func NewMockLocalStorage(ctrl *gomock.Controller) *MockLocalStorage

NewMockLocalStorage creates a new mock instance.

func (*MockLocalStorage) EXPECT

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

func (*MockLocalStorage) List

func (m *MockLocalStorage) List(ctx context.Context, path string, depth int) ([]syncer.LocalObject, error)

List mocks base method.

type MockLocalStorageMockRecorder

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

MockLocalStorageMockRecorder is the mock recorder for MockLocalStorage.

func (*MockLocalStorageMockRecorder) List

func (mr *MockLocalStorageMockRecorder) List(ctx, path, depth interface{}) *gomock.Call

List indicates an expected call of List.

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Delete

func (m *MockRepository) Delete(ctx context.Context, keys []string) error

Delete mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) List

List mocks base method.

func (*MockRepository) Upload

func (m *MockRepository) Upload(ctx context.Context, key string, r io.Reader) error

Upload mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(ctx, keys interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRepositoryMockRecorder) List

func (mr *MockRepositoryMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockRepositoryMockRecorder) Upload

func (mr *MockRepositoryMockRecorder) Upload(ctx, key, r interface{}) *gomock.Call

Upload indicates an expected call of Upload.

Jump to

Keyboard shortcuts

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