Documentation ¶
Index ¶
- type Client
- func (_m *Client) AbortMultipartUpload(_a0 context.Context, _a1 *s3.AbortMultipartUploadInput, ...) (*s3.AbortMultipartUploadOutput, error)
- func (_m *Client) CompleteMultipartUpload(_a0 context.Context, _a1 *s3.CompleteMultipartUploadInput, ...) (*s3.CompleteMultipartUploadOutput, error)
- func (_m *Client) CopyObject(ctx context.Context, params *s3.CopyObjectInput, optFns ...func(*s3.Options)) (*s3.CopyObjectOutput, error)
- func (_m *Client) CreateBucket(ctx context.Context, params *s3.CreateBucketInput, optFns ...func(*s3.Options)) (*s3.CreateBucketOutput, error)
- func (_m *Client) CreateMultipartUpload(_a0 context.Context, _a1 *s3.CreateMultipartUploadInput, ...) (*s3.CreateMultipartUploadOutput, error)
- func (_m *Client) DeleteBucket(ctx context.Context, params *s3.DeleteBucketInput, optFns ...func(*s3.Options)) (*s3.DeleteBucketOutput, error)
- func (_m *Client) DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
- func (_m *Client) DeleteObjects(ctx context.Context, params *s3.DeleteObjectsInput, ...) (*s3.DeleteObjectsOutput, error)
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
- func (_m *Client) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error)
- func (_m *Client) ListObjects(ctx context.Context, params *s3.ListObjectsInput, optFns ...func(*s3.Options)) (*s3.ListObjectsOutput, error)
- func (_m *Client) ListObjectsV2(ctx context.Context, params *s3.ListObjectsV2Input, ...) (*s3.ListObjectsV2Output, error)
- func (_m *Client) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
- func (_m *Client) PutObjectTagging(ctx context.Context, params *s3.PutObjectTaggingInput, ...) (*s3.PutObjectTaggingOutput, error)
- func (_m *Client) UploadPart(_a0 context.Context, _a1 *s3.UploadPartInput, _a2 ...func(*s3.Options)) (*s3.UploadPartOutput, error)
- type Client_AbortMultipartUpload_Call
- func (_c *Client_AbortMultipartUpload_Call) Return(_a0 *s3.AbortMultipartUploadOutput, _a1 error) *Client_AbortMultipartUpload_Call
- func (_c *Client_AbortMultipartUpload_Call) Run(run func(_a0 context.Context, _a1 *s3.AbortMultipartUploadInput, ...)) *Client_AbortMultipartUpload_Call
- func (_c *Client_AbortMultipartUpload_Call) RunAndReturn(...) *Client_AbortMultipartUpload_Call
- type Client_CompleteMultipartUpload_Call
- func (_c *Client_CompleteMultipartUpload_Call) Return(_a0 *s3.CompleteMultipartUploadOutput, _a1 error) *Client_CompleteMultipartUpload_Call
- func (_c *Client_CompleteMultipartUpload_Call) Run(run func(_a0 context.Context, _a1 *s3.CompleteMultipartUploadInput, ...)) *Client_CompleteMultipartUpload_Call
- func (_c *Client_CompleteMultipartUpload_Call) RunAndReturn(...) *Client_CompleteMultipartUpload_Call
- type Client_CopyObject_Call
- type Client_CreateBucket_Call
- type Client_CreateMultipartUpload_Call
- func (_c *Client_CreateMultipartUpload_Call) Return(_a0 *s3.CreateMultipartUploadOutput, _a1 error) *Client_CreateMultipartUpload_Call
- func (_c *Client_CreateMultipartUpload_Call) Run(run func(_a0 context.Context, _a1 *s3.CreateMultipartUploadInput, ...)) *Client_CreateMultipartUpload_Call
- func (_c *Client_CreateMultipartUpload_Call) RunAndReturn(...) *Client_CreateMultipartUpload_Call
- type Client_DeleteBucket_Call
- type Client_DeleteObject_Call
- type Client_DeleteObjects_Call
- func (_c *Client_DeleteObjects_Call) Return(_a0 *s3.DeleteObjectsOutput, _a1 error) *Client_DeleteObjects_Call
- func (_c *Client_DeleteObjects_Call) Run(run func(ctx context.Context, params *s3.DeleteObjectsInput, ...)) *Client_DeleteObjects_Call
- func (_c *Client_DeleteObjects_Call) RunAndReturn(...) *Client_DeleteObjects_Call
- type Client_Expecter
- func (_e *Client_Expecter) AbortMultipartUpload(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_AbortMultipartUpload_Call
- func (_e *Client_Expecter) CompleteMultipartUpload(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_CompleteMultipartUpload_Call
- func (_e *Client_Expecter) CopyObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CopyObject_Call
- func (_e *Client_Expecter) CreateBucket(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CreateBucket_Call
- func (_e *Client_Expecter) CreateMultipartUpload(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_CreateMultipartUpload_Call
- func (_e *Client_Expecter) DeleteBucket(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteBucket_Call
- func (_e *Client_Expecter) DeleteObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteObject_Call
- func (_e *Client_Expecter) DeleteObjects(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteObjects_Call
- func (_e *Client_Expecter) GetObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetObject_Call
- func (_e *Client_Expecter) HeadObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_HeadObject_Call
- func (_e *Client_Expecter) ListObjects(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListObjects_Call
- func (_e *Client_Expecter) ListObjectsV2(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListObjectsV2_Call
- func (_e *Client_Expecter) PutObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_PutObject_Call
- func (_e *Client_Expecter) PutObjectTagging(ctx interface{}, params interface{}, optFns ...interface{}) *Client_PutObjectTagging_Call
- func (_e *Client_Expecter) UploadPart(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_UploadPart_Call
- type Client_GetObject_Call
- type Client_HeadObject_Call
- type Client_ListObjectsV2_Call
- func (_c *Client_ListObjectsV2_Call) Return(_a0 *s3.ListObjectsV2Output, _a1 error) *Client_ListObjectsV2_Call
- func (_c *Client_ListObjectsV2_Call) Run(run func(ctx context.Context, params *s3.ListObjectsV2Input, ...)) *Client_ListObjectsV2_Call
- func (_c *Client_ListObjectsV2_Call) RunAndReturn(...) *Client_ListObjectsV2_Call
- type Client_ListObjects_Call
- type Client_PutObjectTagging_Call
- func (_c *Client_PutObjectTagging_Call) Return(_a0 *s3.PutObjectTaggingOutput, _a1 error) *Client_PutObjectTagging_Call
- func (_c *Client_PutObjectTagging_Call) Run(run func(ctx context.Context, params *s3.PutObjectTaggingInput, ...)) *Client_PutObjectTagging_Call
- func (_c *Client_PutObjectTagging_Call) RunAndReturn(...) *Client_PutObjectTagging_Call
- type Client_PutObject_Call
- type Client_UploadPart_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) AbortMultipartUpload ¶
func (_m *Client) AbortMultipartUpload(_a0 context.Context, _a1 *s3.AbortMultipartUploadInput, _a2 ...func(*s3.Options)) (*s3.AbortMultipartUploadOutput, error)
AbortMultipartUpload provides a mock function with given fields: _a0, _a1, _a2
func (*Client) CompleteMultipartUpload ¶
func (_m *Client) CompleteMultipartUpload(_a0 context.Context, _a1 *s3.CompleteMultipartUploadInput, _a2 ...func(*s3.Options)) (*s3.CompleteMultipartUploadOutput, error)
CompleteMultipartUpload provides a mock function with given fields: _a0, _a1, _a2
func (*Client) CopyObject ¶
func (_m *Client) CopyObject(ctx context.Context, params *s3.CopyObjectInput, optFns ...func(*s3.Options)) (*s3.CopyObjectOutput, error)
CopyObject provides a mock function with given fields: ctx, params, optFns
func (*Client) CreateBucket ¶
func (_m *Client) CreateBucket(ctx context.Context, params *s3.CreateBucketInput, optFns ...func(*s3.Options)) (*s3.CreateBucketOutput, error)
CreateBucket provides a mock function with given fields: ctx, params, optFns
func (*Client) CreateMultipartUpload ¶
func (_m *Client) CreateMultipartUpload(_a0 context.Context, _a1 *s3.CreateMultipartUploadInput, _a2 ...func(*s3.Options)) (*s3.CreateMultipartUploadOutput, error)
CreateMultipartUpload provides a mock function with given fields: _a0, _a1, _a2
func (*Client) DeleteBucket ¶
func (_m *Client) DeleteBucket(ctx context.Context, params *s3.DeleteBucketInput, optFns ...func(*s3.Options)) (*s3.DeleteBucketOutput, error)
DeleteBucket provides a mock function with given fields: ctx, params, optFns
func (*Client) DeleteObject ¶
func (_m *Client) DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
DeleteObject provides a mock function with given fields: ctx, params, optFns
func (*Client) DeleteObjects ¶
func (_m *Client) DeleteObjects(ctx context.Context, params *s3.DeleteObjectsInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectsOutput, error)
DeleteObjects provides a mock function with given fields: ctx, params, optFns
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetObject ¶
func (_m *Client) GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
GetObject provides a mock function with given fields: ctx, params, optFns
func (*Client) HeadObject ¶
func (_m *Client) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error)
HeadObject provides a mock function with given fields: ctx, params, optFns
func (*Client) ListObjects ¶
func (_m *Client) ListObjects(ctx context.Context, params *s3.ListObjectsInput, optFns ...func(*s3.Options)) (*s3.ListObjectsOutput, error)
ListObjects provides a mock function with given fields: ctx, params, optFns
func (*Client) ListObjectsV2 ¶
func (_m *Client) ListObjectsV2(ctx context.Context, params *s3.ListObjectsV2Input, optFns ...func(*s3.Options)) (*s3.ListObjectsV2Output, error)
ListObjectsV2 provides a mock function with given fields: ctx, params, optFns
func (*Client) PutObject ¶
func (_m *Client) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
PutObject provides a mock function with given fields: ctx, params, optFns
func (*Client) PutObjectTagging ¶
func (_m *Client) PutObjectTagging(ctx context.Context, params *s3.PutObjectTaggingInput, optFns ...func(*s3.Options)) (*s3.PutObjectTaggingOutput, error)
PutObjectTagging provides a mock function with given fields: ctx, params, optFns
func (*Client) UploadPart ¶
func (_m *Client) UploadPart(_a0 context.Context, _a1 *s3.UploadPartInput, _a2 ...func(*s3.Options)) (*s3.UploadPartOutput, error)
UploadPart provides a mock function with given fields: _a0, _a1, _a2
type Client_AbortMultipartUpload_Call ¶
Client_AbortMultipartUpload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortMultipartUpload'
func (*Client_AbortMultipartUpload_Call) Return ¶
func (_c *Client_AbortMultipartUpload_Call) Return(_a0 *s3.AbortMultipartUploadOutput, _a1 error) *Client_AbortMultipartUpload_Call
func (*Client_AbortMultipartUpload_Call) Run ¶
func (_c *Client_AbortMultipartUpload_Call) Run(run func(_a0 context.Context, _a1 *s3.AbortMultipartUploadInput, _a2 ...func(*s3.Options))) *Client_AbortMultipartUpload_Call
func (*Client_AbortMultipartUpload_Call) RunAndReturn ¶
func (_c *Client_AbortMultipartUpload_Call) RunAndReturn(run func(context.Context, *s3.AbortMultipartUploadInput, ...func(*s3.Options)) (*s3.AbortMultipartUploadOutput, error)) *Client_AbortMultipartUpload_Call
type Client_CompleteMultipartUpload_Call ¶
Client_CompleteMultipartUpload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompleteMultipartUpload'
func (*Client_CompleteMultipartUpload_Call) Return ¶
func (_c *Client_CompleteMultipartUpload_Call) Return(_a0 *s3.CompleteMultipartUploadOutput, _a1 error) *Client_CompleteMultipartUpload_Call
func (*Client_CompleteMultipartUpload_Call) Run ¶
func (_c *Client_CompleteMultipartUpload_Call) Run(run func(_a0 context.Context, _a1 *s3.CompleteMultipartUploadInput, _a2 ...func(*s3.Options))) *Client_CompleteMultipartUpload_Call
func (*Client_CompleteMultipartUpload_Call) RunAndReturn ¶
func (_c *Client_CompleteMultipartUpload_Call) RunAndReturn(run func(context.Context, *s3.CompleteMultipartUploadInput, ...func(*s3.Options)) (*s3.CompleteMultipartUploadOutput, error)) *Client_CompleteMultipartUpload_Call
type Client_CopyObject_Call ¶
Client_CopyObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyObject'
func (*Client_CopyObject_Call) Return ¶
func (_c *Client_CopyObject_Call) Return(_a0 *s3.CopyObjectOutput, _a1 error) *Client_CopyObject_Call
func (*Client_CopyObject_Call) Run ¶
func (_c *Client_CopyObject_Call) Run(run func(ctx context.Context, params *s3.CopyObjectInput, optFns ...func(*s3.Options))) *Client_CopyObject_Call
func (*Client_CopyObject_Call) RunAndReturn ¶
func (_c *Client_CopyObject_Call) RunAndReturn(run func(context.Context, *s3.CopyObjectInput, ...func(*s3.Options)) (*s3.CopyObjectOutput, error)) *Client_CopyObject_Call
type Client_CreateBucket_Call ¶
Client_CreateBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBucket'
func (*Client_CreateBucket_Call) Return ¶
func (_c *Client_CreateBucket_Call) Return(_a0 *s3.CreateBucketOutput, _a1 error) *Client_CreateBucket_Call
func (*Client_CreateBucket_Call) Run ¶
func (_c *Client_CreateBucket_Call) Run(run func(ctx context.Context, params *s3.CreateBucketInput, optFns ...func(*s3.Options))) *Client_CreateBucket_Call
func (*Client_CreateBucket_Call) RunAndReturn ¶
func (_c *Client_CreateBucket_Call) RunAndReturn(run func(context.Context, *s3.CreateBucketInput, ...func(*s3.Options)) (*s3.CreateBucketOutput, error)) *Client_CreateBucket_Call
type Client_CreateMultipartUpload_Call ¶
Client_CreateMultipartUpload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMultipartUpload'
func (*Client_CreateMultipartUpload_Call) Return ¶
func (_c *Client_CreateMultipartUpload_Call) Return(_a0 *s3.CreateMultipartUploadOutput, _a1 error) *Client_CreateMultipartUpload_Call
func (*Client_CreateMultipartUpload_Call) Run ¶
func (_c *Client_CreateMultipartUpload_Call) Run(run func(_a0 context.Context, _a1 *s3.CreateMultipartUploadInput, _a2 ...func(*s3.Options))) *Client_CreateMultipartUpload_Call
func (*Client_CreateMultipartUpload_Call) RunAndReturn ¶
func (_c *Client_CreateMultipartUpload_Call) RunAndReturn(run func(context.Context, *s3.CreateMultipartUploadInput, ...func(*s3.Options)) (*s3.CreateMultipartUploadOutput, error)) *Client_CreateMultipartUpload_Call
type Client_DeleteBucket_Call ¶
Client_DeleteBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBucket'
func (*Client_DeleteBucket_Call) Return ¶
func (_c *Client_DeleteBucket_Call) Return(_a0 *s3.DeleteBucketOutput, _a1 error) *Client_DeleteBucket_Call
func (*Client_DeleteBucket_Call) Run ¶
func (_c *Client_DeleteBucket_Call) Run(run func(ctx context.Context, params *s3.DeleteBucketInput, optFns ...func(*s3.Options))) *Client_DeleteBucket_Call
func (*Client_DeleteBucket_Call) RunAndReturn ¶
func (_c *Client_DeleteBucket_Call) RunAndReturn(run func(context.Context, *s3.DeleteBucketInput, ...func(*s3.Options)) (*s3.DeleteBucketOutput, error)) *Client_DeleteBucket_Call
type Client_DeleteObject_Call ¶
Client_DeleteObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteObject'
func (*Client_DeleteObject_Call) Return ¶
func (_c *Client_DeleteObject_Call) Return(_a0 *s3.DeleteObjectOutput, _a1 error) *Client_DeleteObject_Call
func (*Client_DeleteObject_Call) Run ¶
func (_c *Client_DeleteObject_Call) Run(run func(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options))) *Client_DeleteObject_Call
func (*Client_DeleteObject_Call) RunAndReturn ¶
func (_c *Client_DeleteObject_Call) RunAndReturn(run func(context.Context, *s3.DeleteObjectInput, ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)) *Client_DeleteObject_Call
type Client_DeleteObjects_Call ¶
Client_DeleteObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteObjects'
func (*Client_DeleteObjects_Call) Return ¶
func (_c *Client_DeleteObjects_Call) Return(_a0 *s3.DeleteObjectsOutput, _a1 error) *Client_DeleteObjects_Call
func (*Client_DeleteObjects_Call) Run ¶
func (_c *Client_DeleteObjects_Call) Run(run func(ctx context.Context, params *s3.DeleteObjectsInput, optFns ...func(*s3.Options))) *Client_DeleteObjects_Call
func (*Client_DeleteObjects_Call) RunAndReturn ¶
func (_c *Client_DeleteObjects_Call) RunAndReturn(run func(context.Context, *s3.DeleteObjectsInput, ...func(*s3.Options)) (*s3.DeleteObjectsOutput, error)) *Client_DeleteObjects_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) AbortMultipartUpload ¶
func (_e *Client_Expecter) AbortMultipartUpload(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_AbortMultipartUpload_Call
AbortMultipartUpload is a helper method to define mock.On call
- _a0 context.Context
- _a1 *s3.AbortMultipartUploadInput
- _a2 ...func(*s3.Options)
func (*Client_Expecter) CompleteMultipartUpload ¶
func (_e *Client_Expecter) CompleteMultipartUpload(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_CompleteMultipartUpload_Call
CompleteMultipartUpload is a helper method to define mock.On call
- _a0 context.Context
- _a1 *s3.CompleteMultipartUploadInput
- _a2 ...func(*s3.Options)
func (*Client_Expecter) CopyObject ¶
func (_e *Client_Expecter) CopyObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CopyObject_Call
CopyObject is a helper method to define mock.On call
- ctx context.Context
- params *s3.CopyObjectInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) CreateBucket ¶
func (_e *Client_Expecter) CreateBucket(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CreateBucket_Call
CreateBucket is a helper method to define mock.On call
- ctx context.Context
- params *s3.CreateBucketInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) CreateMultipartUpload ¶
func (_e *Client_Expecter) CreateMultipartUpload(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_CreateMultipartUpload_Call
CreateMultipartUpload is a helper method to define mock.On call
- _a0 context.Context
- _a1 *s3.CreateMultipartUploadInput
- _a2 ...func(*s3.Options)
func (*Client_Expecter) DeleteBucket ¶
func (_e *Client_Expecter) DeleteBucket(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteBucket_Call
DeleteBucket is a helper method to define mock.On call
- ctx context.Context
- params *s3.DeleteBucketInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) DeleteObject ¶
func (_e *Client_Expecter) DeleteObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteObject_Call
DeleteObject is a helper method to define mock.On call
- ctx context.Context
- params *s3.DeleteObjectInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) DeleteObjects ¶
func (_e *Client_Expecter) DeleteObjects(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteObjects_Call
DeleteObjects is a helper method to define mock.On call
- ctx context.Context
- params *s3.DeleteObjectsInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) GetObject ¶
func (_e *Client_Expecter) GetObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetObject_Call
GetObject is a helper method to define mock.On call
- ctx context.Context
- params *s3.GetObjectInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) HeadObject ¶
func (_e *Client_Expecter) HeadObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_HeadObject_Call
HeadObject is a helper method to define mock.On call
- ctx context.Context
- params *s3.HeadObjectInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) ListObjects ¶
func (_e *Client_Expecter) ListObjects(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListObjects_Call
ListObjects is a helper method to define mock.On call
- ctx context.Context
- params *s3.ListObjectsInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) ListObjectsV2 ¶
func (_e *Client_Expecter) ListObjectsV2(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListObjectsV2_Call
ListObjectsV2 is a helper method to define mock.On call
- ctx context.Context
- params *s3.ListObjectsV2Input
- optFns ...func(*s3.Options)
func (*Client_Expecter) PutObject ¶
func (_e *Client_Expecter) PutObject(ctx interface{}, params interface{}, optFns ...interface{}) *Client_PutObject_Call
PutObject is a helper method to define mock.On call
- ctx context.Context
- params *s3.PutObjectInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) PutObjectTagging ¶
func (_e *Client_Expecter) PutObjectTagging(ctx interface{}, params interface{}, optFns ...interface{}) *Client_PutObjectTagging_Call
PutObjectTagging is a helper method to define mock.On call
- ctx context.Context
- params *s3.PutObjectTaggingInput
- optFns ...func(*s3.Options)
func (*Client_Expecter) UploadPart ¶
func (_e *Client_Expecter) UploadPart(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_UploadPart_Call
UploadPart is a helper method to define mock.On call
- _a0 context.Context
- _a1 *s3.UploadPartInput
- _a2 ...func(*s3.Options)
type Client_GetObject_Call ¶
Client_GetObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObject'
func (*Client_GetObject_Call) Return ¶
func (_c *Client_GetObject_Call) Return(_a0 *s3.GetObjectOutput, _a1 error) *Client_GetObject_Call
func (*Client_GetObject_Call) Run ¶
func (_c *Client_GetObject_Call) Run(run func(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options))) *Client_GetObject_Call
func (*Client_GetObject_Call) RunAndReturn ¶
func (_c *Client_GetObject_Call) RunAndReturn(run func(context.Context, *s3.GetObjectInput, ...func(*s3.Options)) (*s3.GetObjectOutput, error)) *Client_GetObject_Call
type Client_HeadObject_Call ¶
Client_HeadObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadObject'
func (*Client_HeadObject_Call) Return ¶
func (_c *Client_HeadObject_Call) Return(_a0 *s3.HeadObjectOutput, _a1 error) *Client_HeadObject_Call
func (*Client_HeadObject_Call) Run ¶
func (_c *Client_HeadObject_Call) Run(run func(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options))) *Client_HeadObject_Call
func (*Client_HeadObject_Call) RunAndReturn ¶
func (_c *Client_HeadObject_Call) RunAndReturn(run func(context.Context, *s3.HeadObjectInput, ...func(*s3.Options)) (*s3.HeadObjectOutput, error)) *Client_HeadObject_Call
type Client_ListObjectsV2_Call ¶
Client_ListObjectsV2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListObjectsV2'
func (*Client_ListObjectsV2_Call) Return ¶
func (_c *Client_ListObjectsV2_Call) Return(_a0 *s3.ListObjectsV2Output, _a1 error) *Client_ListObjectsV2_Call
func (*Client_ListObjectsV2_Call) Run ¶
func (_c *Client_ListObjectsV2_Call) Run(run func(ctx context.Context, params *s3.ListObjectsV2Input, optFns ...func(*s3.Options))) *Client_ListObjectsV2_Call
func (*Client_ListObjectsV2_Call) RunAndReturn ¶
func (_c *Client_ListObjectsV2_Call) RunAndReturn(run func(context.Context, *s3.ListObjectsV2Input, ...func(*s3.Options)) (*s3.ListObjectsV2Output, error)) *Client_ListObjectsV2_Call
type Client_ListObjects_Call ¶
Client_ListObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListObjects'
func (*Client_ListObjects_Call) Return ¶
func (_c *Client_ListObjects_Call) Return(_a0 *s3.ListObjectsOutput, _a1 error) *Client_ListObjects_Call
func (*Client_ListObjects_Call) Run ¶
func (_c *Client_ListObjects_Call) Run(run func(ctx context.Context, params *s3.ListObjectsInput, optFns ...func(*s3.Options))) *Client_ListObjects_Call
func (*Client_ListObjects_Call) RunAndReturn ¶
func (_c *Client_ListObjects_Call) RunAndReturn(run func(context.Context, *s3.ListObjectsInput, ...func(*s3.Options)) (*s3.ListObjectsOutput, error)) *Client_ListObjects_Call
type Client_PutObjectTagging_Call ¶
Client_PutObjectTagging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutObjectTagging'
func (*Client_PutObjectTagging_Call) Return ¶
func (_c *Client_PutObjectTagging_Call) Return(_a0 *s3.PutObjectTaggingOutput, _a1 error) *Client_PutObjectTagging_Call
func (*Client_PutObjectTagging_Call) Run ¶
func (_c *Client_PutObjectTagging_Call) Run(run func(ctx context.Context, params *s3.PutObjectTaggingInput, optFns ...func(*s3.Options))) *Client_PutObjectTagging_Call
func (*Client_PutObjectTagging_Call) RunAndReturn ¶
func (_c *Client_PutObjectTagging_Call) RunAndReturn(run func(context.Context, *s3.PutObjectTaggingInput, ...func(*s3.Options)) (*s3.PutObjectTaggingOutput, error)) *Client_PutObjectTagging_Call
type Client_PutObject_Call ¶
Client_PutObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutObject'
func (*Client_PutObject_Call) Return ¶
func (_c *Client_PutObject_Call) Return(_a0 *s3.PutObjectOutput, _a1 error) *Client_PutObject_Call
func (*Client_PutObject_Call) Run ¶
func (_c *Client_PutObject_Call) Run(run func(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options))) *Client_PutObject_Call
func (*Client_PutObject_Call) RunAndReturn ¶
func (_c *Client_PutObject_Call) RunAndReturn(run func(context.Context, *s3.PutObjectInput, ...func(*s3.Options)) (*s3.PutObjectOutput, error)) *Client_PutObject_Call
type Client_UploadPart_Call ¶
Client_UploadPart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadPart'
func (*Client_UploadPart_Call) Return ¶
func (_c *Client_UploadPart_Call) Return(_a0 *s3.UploadPartOutput, _a1 error) *Client_UploadPart_Call
func (*Client_UploadPart_Call) Run ¶
func (_c *Client_UploadPart_Call) Run(run func(_a0 context.Context, _a1 *s3.UploadPartInput, _a2 ...func(*s3.Options))) *Client_UploadPart_Call
func (*Client_UploadPart_Call) RunAndReturn ¶
func (_c *Client_UploadPart_Call) RunAndReturn(run func(context.Context, *s3.UploadPartInput, ...func(*s3.Options)) (*s3.UploadPartOutput, error)) *Client_UploadPart_Call