Documentation ¶
Overview ¶
Package storagemock is a generated GoMock package.
Package storagemock is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) Delete(arg0 context.Context, arg1 string) error
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) Get(arg0 context.Context, arg1 string) (io.ReadCloser, error)
- func (m *MockBackend) Info(arg0 context.Context, arg1 string) (types.Info, error)
- func (m *MockBackend) Size(arg0 context.Context, arg1 string) (int64, error)
- func (m *MockBackend) Upload(arg0 context.Context, arg1 io.Reader, arg2 string) error
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Size(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Upload(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockS3Client
- func (m *MockS3Client) DeleteObject(arg0 context.Context, arg1 *s3.DeleteObjectInput, arg2 ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
- func (m *MockS3Client) EXPECT() *MockS3ClientMockRecorder
- func (m *MockS3Client) GetObject(arg0 context.Context, arg1 *s3.GetObjectInput, arg2 ...func(*s3.Options)) (*s3.GetObjectOutput, error)
- func (m *MockS3Client) HeadObject(arg0 context.Context, arg1 *s3.HeadObjectInput, arg2 ...func(*s3.Options)) (*s3.HeadObjectOutput, error)
- type MockS3ClientMockRecorder
- func (mr *MockS3ClientMockRecorder) DeleteObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockS3ClientMockRecorder) GetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockS3ClientMockRecorder) HeadObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶
type MockBackend struct {
// contains filtered or unexported fields
}
MockBackend is a mock of Backend interface.
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance.
func (*MockBackend) Delete ¶
func (m *MockBackend) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockBackend) EXPECT ¶
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackend) Get ¶
func (m *MockBackend) Get(arg0 context.Context, arg1 string) (io.ReadCloser, error)
Get mocks base method.
type MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend.
func (*MockBackendMockRecorder) Delete ¶
func (mr *MockBackendMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockBackendMockRecorder) Get ¶
func (mr *MockBackendMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockBackendMockRecorder) Info ¶ added in v1.2.0
func (mr *MockBackendMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockBackendMockRecorder) Size ¶
func (mr *MockBackendMockRecorder) Size(arg0, arg1 interface{}) *gomock.Call
Size indicates an expected call of Size.
func (*MockBackendMockRecorder) Upload ¶
func (mr *MockBackendMockRecorder) Upload(arg0, arg1, arg2 interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type MockS3Client ¶
type MockS3Client struct {
// contains filtered or unexported fields
}
MockS3Client is a mock of S3Client interface.
func NewMockS3Client ¶
func NewMockS3Client(ctrl *gomock.Controller) *MockS3Client
NewMockS3Client creates a new mock instance.
func (*MockS3Client) DeleteObject ¶
func (m *MockS3Client) DeleteObject(arg0 context.Context, arg1 *s3.DeleteObjectInput, arg2 ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
DeleteObject mocks base method.
func (*MockS3Client) EXPECT ¶
func (m *MockS3Client) EXPECT() *MockS3ClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3Client) GetObject ¶
func (m *MockS3Client) GetObject(arg0 context.Context, arg1 *s3.GetObjectInput, arg2 ...func(*s3.Options)) (*s3.GetObjectOutput, error)
GetObject mocks base method.
func (*MockS3Client) HeadObject ¶
func (m *MockS3Client) HeadObject(arg0 context.Context, arg1 *s3.HeadObjectInput, arg2 ...func(*s3.Options)) (*s3.HeadObjectOutput, error)
HeadObject mocks base method.
type MockS3ClientMockRecorder ¶
type MockS3ClientMockRecorder struct {
// contains filtered or unexported fields
}
MockS3ClientMockRecorder is the mock recorder for MockS3Client.
func (*MockS3ClientMockRecorder) DeleteObject ¶
func (mr *MockS3ClientMockRecorder) DeleteObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject.
func (*MockS3ClientMockRecorder) GetObject ¶
func (mr *MockS3ClientMockRecorder) GetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockS3ClientMockRecorder) HeadObject ¶
func (mr *MockS3ClientMockRecorder) HeadObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
HeadObject indicates an expected call of HeadObject.