Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBucket
- func (m *MockBucket) Delete(ctx context.Context, key *storage.Key) error
- func (m *MockBucket) EXPECT() *MockBucketMockRecorder
- func (m *MockBucket) Reader(ctx context.Context, environmentNamespace, filename string) (storage.Reader, error)
- func (m *MockBucket) Writer(ctx context.Context, environmentNamespace, filename string, CRC32C uint32) (storage.Writer, error)
- type MockBucketMockRecorder
- type MockClient
- func (m *MockClient) Close()
- func (m *MockClient) Delete(ctx context.Context, key *storage.Key) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, key *storage.Key, dst any) error
- func (m *MockClient) GetMulti(ctx context.Context, keys []*storage.Key, dst any) error
- func (m *MockClient) Put(ctx context.Context, key *storage.Key, src any) error
- func (m *MockClient) PutMulti(ctx context.Context, keys []*storage.Key, src any) error
- func (m *MockClient) RunInTransaction(ctx context.Context, f func(storage.Transaction) error) error
- func (m *MockClient) RunQuery(ctx context.Context, query storage.Query) (storage.Iterator, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) Delete(ctx, key any) *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, key, dst any) *gomock.Call
- func (mr *MockClientMockRecorder) GetMulti(ctx, keys, dst any) *gomock.Call
- func (mr *MockClientMockRecorder) Put(ctx, key, src any) *gomock.Call
- func (mr *MockClientMockRecorder) PutMulti(ctx, keys, src any) *gomock.Call
- func (mr *MockClientMockRecorder) RunInTransaction(ctx, f any) *gomock.Call
- func (mr *MockClientMockRecorder) RunQuery(ctx, query any) *gomock.Call
- type MockDeleter
- type MockDeleterMockRecorder
- type MockGetPutter
- func (m *MockGetPutter) EXPECT() *MockGetPutterMockRecorder
- func (m *MockGetPutter) Get(ctx context.Context, key *storage.Key, dst any) error
- func (m *MockGetPutter) GetMulti(ctx context.Context, keys []*storage.Key, dst any) error
- func (m *MockGetPutter) Put(ctx context.Context, key *storage.Key, src any) error
- func (m *MockGetPutter) PutMulti(ctx context.Context, keys []*storage.Key, src any) error
- type MockGetPutterMockRecorder
- func (mr *MockGetPutterMockRecorder) Get(ctx, key, dst any) *gomock.Call
- func (mr *MockGetPutterMockRecorder) GetMulti(ctx, keys, dst any) *gomock.Call
- func (mr *MockGetPutterMockRecorder) Put(ctx, key, src any) *gomock.Call
- func (mr *MockGetPutterMockRecorder) PutMulti(ctx, keys, src any) *gomock.Call
- type MockGetter
- type MockGetterMockRecorder
- type MockIterator
- type MockIteratorMockRecorder
- type MockObject
- func (m *MockObject) Delete(ctx context.Context, key *storage.Key) error
- func (m *MockObject) EXPECT() *MockObjectMockRecorder
- func (m *MockObject) Reader(ctx context.Context, environmentNamespace, filename string) (storage.Reader, error)
- func (m *MockObject) Writer(ctx context.Context, environmentNamespace, filename string, CRC32C uint32) (storage.Writer, error)
- type MockObjectMockRecorder
- type MockObjectStorageClient
- type MockObjectStorageClientMockRecorder
- type MockPutter
- type MockPutterMockRecorder
- type MockQuerier
- type MockQuerierMockRecorder
- type MockReader
- type MockReaderMockRecorder
- type MockTransaction
- func (m *MockTransaction) Delete(ctx context.Context, key *storage.Key) error
- func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
- func (m *MockTransaction) Get(ctx context.Context, key *storage.Key, dst any) error
- func (m *MockTransaction) GetMulti(ctx context.Context, keys []*storage.Key, dst any) error
- func (m *MockTransaction) Put(ctx context.Context, key *storage.Key, src any) error
- func (m *MockTransaction) PutMulti(ctx context.Context, keys []*storage.Key, src any) error
- type MockTransactionMockRecorder
- func (mr *MockTransactionMockRecorder) Delete(ctx, key any) *gomock.Call
- func (mr *MockTransactionMockRecorder) Get(ctx, key, dst any) *gomock.Call
- func (mr *MockTransactionMockRecorder) GetMulti(ctx, keys, dst any) *gomock.Call
- func (mr *MockTransactionMockRecorder) Put(ctx, key, src any) *gomock.Call
- func (mr *MockTransactionMockRecorder) PutMulti(ctx, keys, src any) *gomock.Call
- type MockWriter
- type MockWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucket ¶
type MockBucket struct {
// contains filtered or unexported fields
}
MockBucket is a mock of Bucket interface.
func NewMockBucket ¶
func NewMockBucket(ctrl *gomock.Controller) *MockBucket
NewMockBucket creates a new mock instance.
func (*MockBucket) EXPECT ¶
func (m *MockBucket) EXPECT() *MockBucketMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBucketMockRecorder ¶
type MockBucketMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketMockRecorder is the mock recorder for MockBucket.
func (*MockBucketMockRecorder) Delete ¶
func (mr *MockBucketMockRecorder) Delete(ctx, key any) *gomock.Call
Delete indicates an expected call of Delete.
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) RunInTransaction ¶
func (m *MockClient) RunInTransaction(ctx context.Context, f func(storage.Transaction) error) error
RunInTransaction mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) Delete ¶
func (mr *MockClientMockRecorder) Delete(ctx, key any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, key, dst any) *gomock.Call
Get indicates an expected call of Get.
func (*MockClientMockRecorder) GetMulti ¶
func (mr *MockClientMockRecorder) GetMulti(ctx, keys, dst any) *gomock.Call
GetMulti indicates an expected call of GetMulti.
func (*MockClientMockRecorder) Put ¶
func (mr *MockClientMockRecorder) Put(ctx, key, src any) *gomock.Call
Put indicates an expected call of Put.
func (*MockClientMockRecorder) PutMulti ¶
func (mr *MockClientMockRecorder) PutMulti(ctx, keys, src any) *gomock.Call
PutMulti indicates an expected call of PutMulti.
func (*MockClientMockRecorder) RunInTransaction ¶
func (mr *MockClientMockRecorder) RunInTransaction(ctx, f any) *gomock.Call
RunInTransaction indicates an expected call of RunInTransaction.
type MockDeleter ¶
type MockDeleter struct {
// contains filtered or unexported fields
}
MockDeleter is a mock of Deleter interface.
func NewMockDeleter ¶
func NewMockDeleter(ctrl *gomock.Controller) *MockDeleter
NewMockDeleter creates a new mock instance.
func (*MockDeleter) EXPECT ¶
func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeleterMockRecorder ¶
type MockDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockDeleterMockRecorder is the mock recorder for MockDeleter.
type MockGetPutter ¶
type MockGetPutter struct {
// contains filtered or unexported fields
}
MockGetPutter is a mock of GetPutter interface.
func NewMockGetPutter ¶
func NewMockGetPutter(ctrl *gomock.Controller) *MockGetPutter
NewMockGetPutter creates a new mock instance.
func (*MockGetPutter) EXPECT ¶
func (m *MockGetPutter) EXPECT() *MockGetPutterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGetPutterMockRecorder ¶
type MockGetPutterMockRecorder struct {
// contains filtered or unexported fields
}
MockGetPutterMockRecorder is the mock recorder for MockGetPutter.
func (*MockGetPutterMockRecorder) Get ¶
func (mr *MockGetPutterMockRecorder) Get(ctx, key, dst any) *gomock.Call
Get indicates an expected call of Get.
func (*MockGetPutterMockRecorder) GetMulti ¶
func (mr *MockGetPutterMockRecorder) GetMulti(ctx, keys, dst any) *gomock.Call
GetMulti indicates an expected call of GetMulti.
type MockGetter ¶
type MockGetter struct {
// contains filtered or unexported fields
}
MockGetter is a mock of Getter interface.
func NewMockGetter ¶
func NewMockGetter(ctrl *gomock.Controller) *MockGetter
NewMockGetter creates a new mock instance.
func (*MockGetter) EXPECT ¶
func (m *MockGetter) EXPECT() *MockGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGetterMockRecorder ¶
type MockGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockGetterMockRecorder is the mock recorder for MockGetter.
type MockIterator ¶
type MockIterator struct {
// contains filtered or unexported fields
}
MockIterator is a mock of Iterator interface.
func NewMockIterator ¶
func NewMockIterator(ctrl *gomock.Controller) *MockIterator
NewMockIterator creates a new mock instance.
func (*MockIterator) Cursor ¶
func (m *MockIterator) Cursor() (string, error)
Cursor mocks base method.
func (*MockIterator) EXPECT ¶
func (m *MockIterator) EXPECT() *MockIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIteratorMockRecorder ¶
type MockIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockIteratorMockRecorder is the mock recorder for MockIterator.
func (*MockIteratorMockRecorder) Cursor ¶
func (mr *MockIteratorMockRecorder) Cursor() *gomock.Call
Cursor indicates an expected call of Cursor.
type MockObject ¶
type MockObject struct {
// contains filtered or unexported fields
}
MockObject is a mock of Object interface.
func NewMockObject ¶
func NewMockObject(ctrl *gomock.Controller) *MockObject
NewMockObject creates a new mock instance.
func (*MockObject) EXPECT ¶
func (m *MockObject) EXPECT() *MockObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockObjectMockRecorder ¶
type MockObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectMockRecorder is the mock recorder for MockObject.
func (*MockObjectMockRecorder) Delete ¶
func (mr *MockObjectMockRecorder) Delete(ctx, key any) *gomock.Call
Delete indicates an expected call of Delete.
type MockObjectStorageClient ¶
type MockObjectStorageClient struct {
// contains filtered or unexported fields
}
MockObjectStorageClient is a mock of ObjectStorageClient interface.
func NewMockObjectStorageClient ¶
func NewMockObjectStorageClient(ctrl *gomock.Controller) *MockObjectStorageClient
NewMockObjectStorageClient creates a new mock instance.
func (*MockObjectStorageClient) Bucket ¶
func (m *MockObjectStorageClient) Bucket(ctx context.Context, bucket string) (storage.Bucket, error)
Bucket mocks base method.
func (*MockObjectStorageClient) Close ¶
func (m *MockObjectStorageClient) Close()
Close mocks base method.
func (*MockObjectStorageClient) EXPECT ¶
func (m *MockObjectStorageClient) EXPECT() *MockObjectStorageClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockObjectStorageClientMockRecorder ¶
type MockObjectStorageClientMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectStorageClientMockRecorder is the mock recorder for MockObjectStorageClient.
func (*MockObjectStorageClientMockRecorder) Bucket ¶
func (mr *MockObjectStorageClientMockRecorder) Bucket(ctx, bucket any) *gomock.Call
Bucket indicates an expected call of Bucket.
func (*MockObjectStorageClientMockRecorder) Close ¶
func (mr *MockObjectStorageClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockPutter ¶
type MockPutter struct {
// contains filtered or unexported fields
}
MockPutter is a mock of Putter interface.
func NewMockPutter ¶
func NewMockPutter(ctrl *gomock.Controller) *MockPutter
NewMockPutter creates a new mock instance.
func (*MockPutter) EXPECT ¶
func (m *MockPutter) EXPECT() *MockPutterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPutterMockRecorder ¶
type MockPutterMockRecorder struct {
// contains filtered or unexported fields
}
MockPutterMockRecorder is the mock recorder for MockPutter.
type MockQuerier ¶
type MockQuerier struct {
// contains filtered or unexported fields
}
MockQuerier is a mock of Querier interface.
func NewMockQuerier ¶
func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier
NewMockQuerier creates a new mock instance.
func (*MockQuerier) EXPECT ¶
func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockQuerierMockRecorder ¶
type MockQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockQuerierMockRecorder is the mock recorder for MockQuerier.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) Close ¶
func (mr *MockReaderMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockTransaction ¶
type MockTransaction struct {
// contains filtered or unexported fields
}
MockTransaction is a mock of Transaction interface.
func NewMockTransaction ¶
func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction
NewMockTransaction creates a new mock instance.
func (*MockTransaction) EXPECT ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction.
func (*MockTransactionMockRecorder) Delete ¶
func (mr *MockTransactionMockRecorder) Delete(ctx, key any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTransactionMockRecorder) Get ¶
func (mr *MockTransactionMockRecorder) Get(ctx, key, dst any) *gomock.Call
Get indicates an expected call of Get.
func (*MockTransactionMockRecorder) GetMulti ¶
func (mr *MockTransactionMockRecorder) GetMulti(ctx, keys, dst any) *gomock.Call
GetMulti indicates an expected call of GetMulti.
type MockWriter ¶
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface.
func NewMockWriter ¶
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance.
func (*MockWriter) EXPECT ¶
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWriterMockRecorder ¶
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter.
func (*MockWriterMockRecorder) Close ¶
func (mr *MockWriterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.