Documentation
¶
Overview ¶
Package mock_s3 is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
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) GetObject ¶
func (m *MockClient) GetObject(bucketName, objectName string) (s3.Object, error)
GetObject mocks base method.
func (*MockClient) RemoveObject ¶
func (m *MockClient) RemoveObject(bucketName, key string) error
RemoveObject mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GetObject ¶
func (mr *MockClientMockRecorder) GetObject(bucketName, objectName any) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockClientMockRecorder) RemoveObject ¶
func (mr *MockClientMockRecorder) RemoveObject(bucketName, key any) *gomock.Call
RemoveObject indicates an expected call of RemoveObject.
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.
func (*MockObject) Stat ¶
func (m *MockObject) Stat() (minio.ObjectInfo, error)
Stat mocks base method.
type MockObjectMockRecorder ¶
type MockObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectMockRecorder is the mock recorder for MockObject.
func (*MockObjectMockRecorder) Close ¶
func (mr *MockObjectMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockObjectMockRecorder) Read ¶
func (mr *MockObjectMockRecorder) Read(p any) *gomock.Call
Read indicates an expected call of Read.
func (*MockObjectMockRecorder) Stat ¶
func (mr *MockObjectMockRecorder) Stat() *gomock.Call
Stat indicates an expected call of Stat.