Documentation
¶
Overview ¶
Package syncermock is a generated GoMock package.
Package syncermock is a generated GoMock package.
Package syncermock is a generated GoMock package.
Index ¶
- type MockArchiver
- type MockArchiverMockRecorder
- type MockLocalStorage
- type MockLocalStorageMockRecorder
- type MockRepository
- func (m *MockRepository) Delete(ctx context.Context, keys []string) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) List(ctx context.Context) ([]syncer.RepositoryObject, error)
- func (m *MockRepository) Upload(ctx context.Context, key string, r io.Reader) error
- type MockRepositoryMockRecorder
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) EXPECT ¶
func (m *MockArchiver) EXPECT() *MockArchiverMockRecorder
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 ¶
func (m *MockLocalStorage) EXPECT() *MockLocalStorageMockRecorder
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 ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) List ¶
func (m *MockRepository) List(ctx context.Context) ([]syncer.RepositoryObject, error)
List 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.