Documentation ¶
Index ¶
- type MockProvider
- func (_m *MockProvider) DeleteObject(_param0 string, _param1 string) error
- func (_m *MockProvider) EXPECT() *_MockProviderRecorder
- func (_m *MockProvider) GetObject(_param0 string, _param1 string) ([]byte, error)
- func (_m *MockProvider) GetObjectToFile(_param0 string, _param1 string, _param2 string, _param3 os.FileMode) error
- func (_m *MockProvider) ListObjects(_param0 string, _param1 string) ([]string, error)
- func (_m *MockProvider) PutObject(_param0 string, _param1 string, _param2 []byte) error
- func (_m *MockProvider) PutObjectFromFile(_param0 string, _param1 string, _param2 string) error
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
}
Mock of Provider interface
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
func (*MockProvider) DeleteObject ¶
func (_m *MockProvider) DeleteObject(_param0 string, _param1 string) error
func (*MockProvider) EXPECT ¶
func (_m *MockProvider) EXPECT() *_MockProviderRecorder
func (*MockProvider) GetObject ¶
func (_m *MockProvider) GetObject(_param0 string, _param1 string) ([]byte, error)
func (*MockProvider) GetObjectToFile ¶
func (*MockProvider) ListObjects ¶
func (_m *MockProvider) ListObjects(_param0 string, _param1 string) ([]string, error)
func (*MockProvider) PutObject ¶
func (_m *MockProvider) PutObject(_param0 string, _param1 string, _param2 []byte) error
func (*MockProvider) PutObjectFromFile ¶
func (_m *MockProvider) PutObjectFromFile(_param0 string, _param1 string, _param2 string) error
Click to show internal directories.
Click to hide internal directories.