Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockFileStorage
- func (m *MockFileStorage) DeleteFile(ctx context.Context, objectKey string) error
- func (m *MockFileStorage) DownloadFile(ctx context.Context, objectKey string) (io.ReadCloser, error)
- func (m *MockFileStorage) EXPECT() *MockFileStorageMockRecorder
- func (m *MockFileStorage) ListFiles(ctx context.Context) ([]string, error)
- func (m *MockFileStorage) Reset(ctx context.Context) error
- func (m *MockFileStorage) UploadFile(ctx context.Context, objectKey string, reader io.Reader) (string, error)
- type MockFileStorageMockRecorder
- func (mr *MockFileStorageMockRecorder) DeleteFile(ctx, objectKey interface{}) *gomock.Call
- func (mr *MockFileStorageMockRecorder) DownloadFile(ctx, objectKey interface{}) *gomock.Call
- func (mr *MockFileStorageMockRecorder) ListFiles(ctx interface{}) *gomock.Call
- func (mr *MockFileStorageMockRecorder) Reset(ctx interface{}) *gomock.Call
- func (mr *MockFileStorageMockRecorder) UploadFile(ctx, objectKey, reader interface{}) *gomock.Call
- type MockStatusStore
- type MockStatusStoreMockRecorder
- type MockStubStore
- func (m *MockStubStore) Create(ctx context.Context, stubs ...*rio.Stub) error
- func (m *MockStubStore) CreateIncomingRequest(ctx context.Context, r *rio.IncomingRequest) error
- func (m *MockStubStore) CreateProto(ctx context.Context, protos ...*rio.Proto) error
- func (m *MockStubStore) Delete(ctx context.Context, id int64) error
- func (m *MockStubStore) EXPECT() *MockStubStoreMockRecorder
- func (m *MockStubStore) GetAll(ctx context.Context, namespace string) ([]*rio.Stub, error)
- func (m *MockStubStore) GetIncomingRequests(ctx context.Context, option *rio.IncomingQueryOption) ([]*rio.IncomingRequest, error)
- func (m *MockStubStore) GetProtos(ctx context.Context) ([]*rio.Proto, error)
- func (m *MockStubStore) Reset(ctx context.Context, option *rio.ResetQueryOption) error
- type MockStubStoreMockRecorder
- func (mr *MockStubStoreMockRecorder) Create(ctx interface{}, stubs ...interface{}) *gomock.Call
- func (mr *MockStubStoreMockRecorder) CreateIncomingRequest(ctx, r interface{}) *gomock.Call
- func (mr *MockStubStoreMockRecorder) CreateProto(ctx interface{}, protos ...interface{}) *gomock.Call
- func (mr *MockStubStoreMockRecorder) Delete(ctx, id interface{}) *gomock.Call
- func (mr *MockStubStoreMockRecorder) GetAll(ctx, namespace interface{}) *gomock.Call
- func (mr *MockStubStoreMockRecorder) GetIncomingRequests(ctx, option interface{}) *gomock.Call
- func (mr *MockStubStoreMockRecorder) GetProtos(ctx interface{}) *gomock.Call
- func (mr *MockStubStoreMockRecorder) Reset(ctx, option interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileStorage ¶
type MockFileStorage struct {
// contains filtered or unexported fields
}
MockFileStorage is a mock of FileStorage interface.
func NewMockFileStorage ¶
func NewMockFileStorage(ctrl *gomock.Controller) *MockFileStorage
NewMockFileStorage creates a new mock instance.
func (*MockFileStorage) DeleteFile ¶
func (m *MockFileStorage) DeleteFile(ctx context.Context, objectKey string) error
DeleteFile mocks base method.
func (*MockFileStorage) DownloadFile ¶
func (m *MockFileStorage) DownloadFile(ctx context.Context, objectKey string) (io.ReadCloser, error)
DownloadFile mocks base method.
func (*MockFileStorage) EXPECT ¶
func (m *MockFileStorage) EXPECT() *MockFileStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileStorage) ListFiles ¶
func (m *MockFileStorage) ListFiles(ctx context.Context) ([]string, error)
ListFiles mocks base method.
func (*MockFileStorage) Reset ¶
func (m *MockFileStorage) Reset(ctx context.Context) error
Reset mocks base method.
func (*MockFileStorage) UploadFile ¶
func (m *MockFileStorage) UploadFile(ctx context.Context, objectKey string, reader io.Reader) (string, error)
UploadFile mocks base method.
type MockFileStorageMockRecorder ¶
type MockFileStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockFileStorageMockRecorder is the mock recorder for MockFileStorage.
func (*MockFileStorageMockRecorder) DeleteFile ¶
func (mr *MockFileStorageMockRecorder) DeleteFile(ctx, objectKey interface{}) *gomock.Call
DeleteFile indicates an expected call of DeleteFile.
func (*MockFileStorageMockRecorder) DownloadFile ¶
func (mr *MockFileStorageMockRecorder) DownloadFile(ctx, objectKey interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile.
func (*MockFileStorageMockRecorder) ListFiles ¶
func (mr *MockFileStorageMockRecorder) ListFiles(ctx interface{}) *gomock.Call
ListFiles indicates an expected call of ListFiles.
func (*MockFileStorageMockRecorder) Reset ¶
func (mr *MockFileStorageMockRecorder) Reset(ctx interface{}) *gomock.Call
Reset indicates an expected call of Reset.
func (*MockFileStorageMockRecorder) UploadFile ¶
func (mr *MockFileStorageMockRecorder) UploadFile(ctx, objectKey, reader interface{}) *gomock.Call
UploadFile indicates an expected call of UploadFile.
type MockStatusStore ¶
type MockStatusStore struct {
// contains filtered or unexported fields
}
MockStatusStore is a mock of StatusStore interface.
func NewMockStatusStore ¶
func NewMockStatusStore(ctrl *gomock.Controller) *MockStatusStore
NewMockStatusStore creates a new mock instance.
func (*MockStatusStore) EXPECT ¶
func (m *MockStatusStore) EXPECT() *MockStatusStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatusStore) GetLastUpdatedProto ¶
func (m *MockStatusStore) GetLastUpdatedProto(ctx context.Context) (*rio.LastUpdatedRecord, error)
GetLastUpdatedProto mocks base method.
func (*MockStatusStore) GetLastUpdatedStub ¶
func (m *MockStatusStore) GetLastUpdatedStub(ctx context.Context, namespace string) (*rio.LastUpdatedRecord, error)
GetLastUpdatedStub mocks base method.
type MockStatusStoreMockRecorder ¶
type MockStatusStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusStoreMockRecorder is the mock recorder for MockStatusStore.
func (*MockStatusStoreMockRecorder) GetLastUpdatedProto ¶
func (mr *MockStatusStoreMockRecorder) GetLastUpdatedProto(ctx interface{}) *gomock.Call
GetLastUpdatedProto indicates an expected call of GetLastUpdatedProto.
func (*MockStatusStoreMockRecorder) GetLastUpdatedStub ¶
func (mr *MockStatusStoreMockRecorder) GetLastUpdatedStub(ctx, namespace interface{}) *gomock.Call
GetLastUpdatedStub indicates an expected call of GetLastUpdatedStub.
type MockStubStore ¶
type MockStubStore struct {
// contains filtered or unexported fields
}
MockStubStore is a mock of StubStore interface.
func NewMockStubStore ¶
func NewMockStubStore(ctrl *gomock.Controller) *MockStubStore
NewMockStubStore creates a new mock instance.
func (*MockStubStore) CreateIncomingRequest ¶
func (m *MockStubStore) CreateIncomingRequest(ctx context.Context, r *rio.IncomingRequest) error
CreateIncomingRequest mocks base method.
func (*MockStubStore) CreateProto ¶
CreateProto mocks base method.
func (*MockStubStore) Delete ¶
func (m *MockStubStore) Delete(ctx context.Context, id int64) error
Delete mocks base method.
func (*MockStubStore) EXPECT ¶
func (m *MockStubStore) EXPECT() *MockStubStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStubStore) GetIncomingRequests ¶
func (m *MockStubStore) GetIncomingRequests(ctx context.Context, option *rio.IncomingQueryOption) ([]*rio.IncomingRequest, error)
GetIncomingRequests mocks base method.
func (*MockStubStore) Reset ¶
func (m *MockStubStore) Reset(ctx context.Context, option *rio.ResetQueryOption) error
Reset mocks base method.
type MockStubStoreMockRecorder ¶
type MockStubStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStubStoreMockRecorder is the mock recorder for MockStubStore.
func (*MockStubStoreMockRecorder) Create ¶
func (mr *MockStubStoreMockRecorder) Create(ctx interface{}, stubs ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockStubStoreMockRecorder) CreateIncomingRequest ¶
func (mr *MockStubStoreMockRecorder) CreateIncomingRequest(ctx, r interface{}) *gomock.Call
CreateIncomingRequest indicates an expected call of CreateIncomingRequest.
func (*MockStubStoreMockRecorder) CreateProto ¶
func (mr *MockStubStoreMockRecorder) CreateProto(ctx interface{}, protos ...interface{}) *gomock.Call
CreateProto indicates an expected call of CreateProto.
func (*MockStubStoreMockRecorder) Delete ¶
func (mr *MockStubStoreMockRecorder) Delete(ctx, id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStubStoreMockRecorder) GetAll ¶
func (mr *MockStubStoreMockRecorder) GetAll(ctx, namespace interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockStubStoreMockRecorder) GetIncomingRequests ¶
func (mr *MockStubStoreMockRecorder) GetIncomingRequests(ctx, option interface{}) *gomock.Call
GetIncomingRequests indicates an expected call of GetIncomingRequests.
func (*MockStubStoreMockRecorder) GetProtos ¶
func (mr *MockStubStoreMockRecorder) GetProtos(ctx interface{}) *gomock.Call
GetProtos indicates an expected call of GetProtos.
func (*MockStubStoreMockRecorder) Reset ¶
func (mr *MockStubStoreMockRecorder) Reset(ctx, option interface{}) *gomock.Call
Reset indicates an expected call of Reset.