Documentation ¶
Overview ¶
Package mock_s3 is a generated GoMock package.
Index ¶
- type MockObjectStoreClient
- func (m *MockObjectStoreClient) BucketExists(bucketName string) (bool, error)
- func (m *MockObjectStoreClient) EXPECT() *MockObjectStoreClientMockRecorder
- func (m *MockObjectStoreClient) FPutObjectWithContext(ctx context.Context, bucketName, objectName, filePath string, ...) (int64, error)
- func (m *MockObjectStoreClient) MakeBucket(bucketName, location string) error
- type MockObjectStoreClientMockRecorder
- func (mr *MockObjectStoreClientMockRecorder) BucketExists(bucketName interface{}) *gomock.Call
- func (mr *MockObjectStoreClientMockRecorder) FPutObjectWithContext(ctx, bucketName, objectName, filePath, opts interface{}) *gomock.Call
- func (mr *MockObjectStoreClientMockRecorder) MakeBucket(bucketName, location interface{}) *gomock.Call
- type Mockcompressor
- type MockcompressorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectStoreClient ¶
type MockObjectStoreClient struct {
// contains filtered or unexported fields
}
MockObjectStoreClient is a mock of ObjectStoreClient interface.
func NewMockObjectStoreClient ¶
func NewMockObjectStoreClient(ctrl *gomock.Controller) *MockObjectStoreClient
NewMockObjectStoreClient creates a new mock instance.
func (*MockObjectStoreClient) BucketExists ¶
func (m *MockObjectStoreClient) BucketExists(bucketName string) (bool, error)
BucketExists mocks base method.
func (*MockObjectStoreClient) EXPECT ¶
func (m *MockObjectStoreClient) EXPECT() *MockObjectStoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectStoreClient) FPutObjectWithContext ¶ added in v0.7.3
func (m *MockObjectStoreClient) FPutObjectWithContext(ctx context.Context, bucketName, objectName, filePath string, opts minio.PutObjectOptions) (int64, error)
FPutObjectWithContext mocks base method.
func (*MockObjectStoreClient) MakeBucket ¶
func (m *MockObjectStoreClient) MakeBucket(bucketName, location string) error
MakeBucket mocks base method.
type MockObjectStoreClientMockRecorder ¶
type MockObjectStoreClientMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectStoreClientMockRecorder is the mock recorder for MockObjectStoreClient.
func (*MockObjectStoreClientMockRecorder) BucketExists ¶
func (mr *MockObjectStoreClientMockRecorder) BucketExists(bucketName interface{}) *gomock.Call
BucketExists indicates an expected call of BucketExists.
func (*MockObjectStoreClientMockRecorder) FPutObjectWithContext ¶ added in v0.7.3
func (mr *MockObjectStoreClientMockRecorder) FPutObjectWithContext(ctx, bucketName, objectName, filePath, opts interface{}) *gomock.Call
FPutObjectWithContext indicates an expected call of FPutObjectWithContext.
func (*MockObjectStoreClientMockRecorder) MakeBucket ¶
func (mr *MockObjectStoreClientMockRecorder) MakeBucket(bucketName, location interface{}) *gomock.Call
MakeBucket indicates an expected call of MakeBucket.
type Mockcompressor ¶
type Mockcompressor struct {
// contains filtered or unexported fields
}
Mockcompressor is a mock of compressor interface.
func NewMockcompressor ¶
func NewMockcompressor(ctrl *gomock.Controller) *Mockcompressor
NewMockcompressor creates a new mock instance.
func (*Mockcompressor) EXPECT ¶
func (m *Mockcompressor) EXPECT() *MockcompressorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockcompressorMockRecorder ¶
type MockcompressorMockRecorder struct {
// contains filtered or unexported fields
}
MockcompressorMockRecorder is the mock recorder for Mockcompressor.