Documentation ¶
Overview ¶
Package mock_s3iface is a generated GoMock package.
Index ¶
- type MockPreSignAPI
- func (m *MockPreSignAPI) EXPECT() *MockPreSignAPIMockRecorder
- func (m *MockPreSignAPI) PresignGetObject(arg0 context.Context, arg1 *s3.GetObjectInput, ...) (*v4.PresignedHTTPRequest, error)
- func (m *MockPreSignAPI) PresignPutObject(arg0 context.Context, arg1 *s3.PutObjectInput, ...) (*v4.PresignedHTTPRequest, error)
- type MockPreSignAPIMockRecorder
- type MockS3API
- func (m *MockS3API) DeleteObject(arg0 context.Context, arg1 *s3.DeleteObjectInput, arg2 ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
- func (m *MockS3API) EXPECT() *MockS3APIMockRecorder
- func (m *MockS3API) GetObject(arg0 context.Context, arg1 *s3.GetObjectInput, arg2 ...func(*s3.Options)) (*s3.GetObjectOutput, error)
- func (m *MockS3API) ListObjectsV2(arg0 context.Context, arg1 *s3.ListObjectsV2Input, arg2 ...func(*s3.Options)) (*s3.ListObjectsV2Output, error)
- func (m *MockS3API) PutObject(arg0 context.Context, arg1 *s3.PutObjectInput, arg2 ...func(*s3.Options)) (*s3.PutObjectOutput, error)
- type MockS3APIMockRecorder
- func (mr *MockS3APIMockRecorder) DeleteObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockS3APIMockRecorder) GetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockS3APIMockRecorder) ListObjectsV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockS3APIMockRecorder) PutObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPreSignAPI ¶ added in v0.21.0
type MockPreSignAPI struct {
// contains filtered or unexported fields
}
MockPreSignAPI is a mock of PreSignAPI interface.
func NewMockPreSignAPI ¶ added in v0.21.0
func NewMockPreSignAPI(ctrl *gomock.Controller) *MockPreSignAPI
NewMockPreSignAPI creates a new mock instance.
func (*MockPreSignAPI) EXPECT ¶ added in v0.21.0
func (m *MockPreSignAPI) EXPECT() *MockPreSignAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPreSignAPI) PresignGetObject ¶ added in v0.21.0
func (m *MockPreSignAPI) PresignGetObject(arg0 context.Context, arg1 *s3.GetObjectInput, arg2 ...func(*s3.PresignOptions)) (*v4.PresignedHTTPRequest, error)
PresignGetObject mocks base method.
func (*MockPreSignAPI) PresignPutObject ¶ added in v0.21.0
func (m *MockPreSignAPI) PresignPutObject(arg0 context.Context, arg1 *s3.PutObjectInput, arg2 ...func(*s3.PresignOptions)) (*v4.PresignedHTTPRequest, error)
PresignPutObject mocks base method.
type MockPreSignAPIMockRecorder ¶ added in v0.21.0
type MockPreSignAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockPreSignAPIMockRecorder is the mock recorder for MockPreSignAPI.
func (*MockPreSignAPIMockRecorder) PresignGetObject ¶ added in v0.21.0
func (mr *MockPreSignAPIMockRecorder) PresignGetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PresignGetObject indicates an expected call of PresignGetObject.
func (*MockPreSignAPIMockRecorder) PresignPutObject ¶ added in v0.21.0
func (mr *MockPreSignAPIMockRecorder) PresignPutObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PresignPutObject indicates an expected call of PresignPutObject.
type MockS3API ¶
type MockS3API struct {
// contains filtered or unexported fields
}
MockS3API is a mock of S3API interface.
func NewMockS3API ¶
func NewMockS3API(ctrl *gomock.Controller) *MockS3API
NewMockS3API creates a new mock instance.
func (*MockS3API) DeleteObject ¶
func (m *MockS3API) DeleteObject(arg0 context.Context, arg1 *s3.DeleteObjectInput, arg2 ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
DeleteObject mocks base method.
func (*MockS3API) EXPECT ¶
func (m *MockS3API) EXPECT() *MockS3APIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3API) GetObject ¶
func (m *MockS3API) GetObject(arg0 context.Context, arg1 *s3.GetObjectInput, arg2 ...func(*s3.Options)) (*s3.GetObjectOutput, error)
GetObject mocks base method.
func (*MockS3API) ListObjectsV2 ¶
func (m *MockS3API) ListObjectsV2(arg0 context.Context, arg1 *s3.ListObjectsV2Input, arg2 ...func(*s3.Options)) (*s3.ListObjectsV2Output, error)
ListObjectsV2 mocks base method.
type MockS3APIMockRecorder ¶
type MockS3APIMockRecorder struct {
// contains filtered or unexported fields
}
MockS3APIMockRecorder is the mock recorder for MockS3API.
func (*MockS3APIMockRecorder) DeleteObject ¶
func (mr *MockS3APIMockRecorder) DeleteObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject.
func (*MockS3APIMockRecorder) GetObject ¶
func (mr *MockS3APIMockRecorder) GetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockS3APIMockRecorder) ListObjectsV2 ¶
func (mr *MockS3APIMockRecorder) ListObjectsV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListObjectsV2 indicates an expected call of ListObjectsV2.
func (*MockS3APIMockRecorder) PutObject ¶
func (mr *MockS3APIMockRecorder) PutObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.