Documentation ¶
Overview ¶
Package mock_s3 is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) DeleteObject(arg0, arg1 string) error
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) GetObject(arg0, arg1 string) ([]byte, error)
- func (m *MockProvider) GetObjectToFile(arg0, arg1, arg2 string, arg3 os.FileMode) error
- func (m *MockProvider) ListObjects(arg0, arg1 string) ([]string, error)
- func (m *MockProvider) PutObject(arg0, arg1 string, arg2 []byte) error
- func (m *MockProvider) PutObjectFromFile(arg0, arg1, arg2 string) error
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) DeleteObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) GetObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) GetObjectToFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) ListObjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) PutObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) PutObjectFromFile(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) DeleteObject ¶
func (m *MockProvider) DeleteObject(arg0, arg1 string) error
DeleteObject mocks base method.
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProvider) GetObject ¶
func (m *MockProvider) GetObject(arg0, arg1 string) ([]byte, error)
GetObject mocks base method.
func (*MockProvider) GetObjectToFile ¶
func (m *MockProvider) GetObjectToFile(arg0, arg1, arg2 string, arg3 os.FileMode) error
GetObjectToFile mocks base method.
func (*MockProvider) ListObjects ¶
func (m *MockProvider) ListObjects(arg0, arg1 string) ([]string, error)
ListObjects mocks base method.
func (*MockProvider) PutObject ¶
func (m *MockProvider) PutObject(arg0, arg1 string, arg2 []byte) error
PutObject mocks base method.
func (*MockProvider) PutObjectFromFile ¶
func (m *MockProvider) PutObjectFromFile(arg0, arg1, arg2 string) error
PutObjectFromFile mocks base method.
type MockProviderMockRecorder ¶ added in v0.10.4
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) DeleteObject ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) DeleteObject(arg0, arg1 interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject.
func (*MockProviderMockRecorder) GetObject ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) GetObject(arg0, arg1 interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockProviderMockRecorder) GetObjectToFile ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) GetObjectToFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetObjectToFile indicates an expected call of GetObjectToFile.
func (*MockProviderMockRecorder) ListObjects ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) ListObjects(arg0, arg1 interface{}) *gomock.Call
ListObjects indicates an expected call of ListObjects.
func (*MockProviderMockRecorder) PutObject ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) PutObject(arg0, arg1, arg2 interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.
func (*MockProviderMockRecorder) PutObjectFromFile ¶ added in v0.10.4
func (mr *MockProviderMockRecorder) PutObjectFromFile(arg0, arg1, arg2 interface{}) *gomock.Call
PutObjectFromFile indicates an expected call of PutObjectFromFile.