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) FPutObject(bucketName, objectName, filePath string, opts minio.PutObjectOptions) (int64, error)
- func (m *MockObjectStoreClient) MakeBucket(bucketName, location string) error
- type MockObjectStoreClientMockRecorder
- func (mr *MockObjectStoreClientMockRecorder) BucketExists(bucketName interface{}) *gomock.Call
- func (mr *MockObjectStoreClientMockRecorder) FPutObject(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) FPutObject ¶
func (m *MockObjectStoreClient) FPutObject(bucketName, objectName, filePath string, opts minio.PutObjectOptions) (int64, error)
FPutObject 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) FPutObject ¶
func (mr *MockObjectStoreClientMockRecorder) FPutObject(bucketName, objectName, filePath, opts interface{}) *gomock.Call
FPutObject indicates an expected call of FPutObject.
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.