Documentation
¶
Index ¶
- func RandomBucket() string
- type API
- type BatchDeleteIterator
- func (b *BatchDeleteIterator) AssertOutputsEmpty()
- func (b *BatchDeleteIterator) DeleteObject() awsSdkGoServiceS3S3manager.BatchDeleteObject
- func (b *BatchDeleteIterator) Err() error
- func (b *BatchDeleteIterator) Next() bool
- func (b *BatchDeleteIterator) SetDeleteObjectOutput(output awsSdkGoServiceS3S3manager.BatchDeleteObject)
- func (b *BatchDeleteIterator) SetErrOutput(output error)
- func (b *BatchDeleteIterator) SetNextOutput(output bool)
- type BatchDeleteWithClient
- type DeleteObjectWithContextInput
- type DeleteObjectWithContextOutput
- type DownloadWithContextInput
- type DownloadWithContextOutput
- type Downloader
- type HeadObjectWithContextInput
- type HeadObjectWithContextOutput
- type NewDeleteListIteratorInput
- type S3
- func (s *S3) AssertOutputsEmpty()
- func (s *S3) DeleteObjectWithContext(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3.DeleteObjectInput, ...) (*awsSdkGoServiceS3.DeleteObjectOutput, error)
- func (s *S3) HeadObjectWithContext(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3.HeadObjectInput, ...) (*awsSdkGoServiceS3.HeadObjectOutput, error)
- func (s *S3) SetDeleteObjectWithContextOutput(output DeleteObjectWithContextOutput)
- func (s *S3) SetHeadObjectWithContextOutput(output HeadObjectWithContextOutput)
- type S3Manager
- func (s *S3Manager) AssertOutputsEmpty()
- func (s *S3Manager) Downloader() awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI
- func (s *S3Manager) NewBatchDeleteWithClient(options ...func(*awsSdkGoServiceS3S3manager.BatchDelete)) aws.BatchDeleteWithClient
- func (s *S3Manager) NewDeleteListIterator(listObjectsInput *awsSdkGoServiceS3.ListObjectsInput, ...) awsSdkGoServiceS3S3manager.BatchDeleteIterator
- func (s *S3Manager) SetDownloaderOutput(output awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI)
- func (s *S3Manager) SetNewBatchDeleteWithClientOutput(output aws.BatchDeleteWithClient)
- func (s *S3Manager) SetNewDeleteListIteratorOutput(output awsSdkGoServiceS3S3manager.BatchDeleteIterator)
- func (s *S3Manager) SetUploaderOutput(output awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI)
- func (s *S3Manager) Uploader() awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI
- type UploadWithContextInput
- type UploadWithContextOutput
- type Uploader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomBucket ¶
func RandomBucket() string
Types ¶
type API ¶
type API struct {
S3Invocations int
S3Stub func() awsSdkGoServiceS3S3iface.S3API
S3Outputs []awsSdkGoServiceS3S3iface.S3API
S3Output *awsSdkGoServiceS3S3iface.S3API
S3ManagerInvocations int
S3ManagerStub func() aws.S3Manager
S3ManagerOutputs []aws.S3Manager
S3ManagerOutput *aws.S3Manager
}
func (*API) AssertOutputsEmpty ¶
func (a *API) AssertOutputsEmpty()
func (*API) S3 ¶
func (a *API) S3() awsSdkGoServiceS3S3iface.S3API
func (*API) SetS3ManagerOutput ¶ added in v1.31.0
func (*API) SetS3Output ¶ added in v1.31.0
func (a *API) SetS3Output(output awsSdkGoServiceS3S3iface.S3API)
type BatchDeleteIterator ¶ added in v1.31.0
type BatchDeleteIterator struct {
NextInvocations int
NextStub func() bool
NextOutputs []bool
NextOutput *bool
ErrInvocations int
ErrStub func() error
ErrOutputs []error
ErrOutput *error
DeleteObjectInvocations int
DeleteObjectStub func() awsSdkGoServiceS3S3manager.BatchDeleteObject
DeleteObjectOutputs []awsSdkGoServiceS3S3manager.BatchDeleteObject
DeleteObjectOutput *awsSdkGoServiceS3S3manager.BatchDeleteObject
}
func NewBatchDeleteIterator ¶ added in v1.31.0
func NewBatchDeleteIterator() *BatchDeleteIterator
func (*BatchDeleteIterator) AssertOutputsEmpty ¶ added in v1.31.0
func (b *BatchDeleteIterator) AssertOutputsEmpty()
func (*BatchDeleteIterator) DeleteObject ¶ added in v1.31.0
func (b *BatchDeleteIterator) DeleteObject() awsSdkGoServiceS3S3manager.BatchDeleteObject
func (*BatchDeleteIterator) Err ¶ added in v1.31.0
func (b *BatchDeleteIterator) Err() error
func (*BatchDeleteIterator) Next ¶ added in v1.31.0
func (b *BatchDeleteIterator) Next() bool
func (*BatchDeleteIterator) SetDeleteObjectOutput ¶ added in v1.31.0
func (b *BatchDeleteIterator) SetDeleteObjectOutput(output awsSdkGoServiceS3S3manager.BatchDeleteObject)
func (*BatchDeleteIterator) SetErrOutput ¶ added in v1.31.0
func (b *BatchDeleteIterator) SetErrOutput(output error)
func (*BatchDeleteIterator) SetNextOutput ¶ added in v1.31.0
func (b *BatchDeleteIterator) SetNextOutput(output bool)
type BatchDeleteWithClient ¶ added in v1.31.0
type BatchDeleteWithClient struct {
DeleteInvocations int
DeleteInputs []awsSdkGoServiceS3S3manager.BatchDeleteIterator
DeleteStub func(ctx awsSdkGoAws.Context, batchDeleteIterator awsSdkGoServiceS3S3manager.BatchDeleteIterator) error
DeleteOutputs []error
DeleteOutput *error
}
func NewBatchDeleteWithClient ¶ added in v1.31.0
func NewBatchDeleteWithClient() *BatchDeleteWithClient
func (*BatchDeleteWithClient) AssertOutputsEmpty ¶ added in v1.31.0
func (b *BatchDeleteWithClient) AssertOutputsEmpty()
func (*BatchDeleteWithClient) Delete ¶ added in v1.31.0
func (b *BatchDeleteWithClient) Delete(ctx awsSdkGoAws.Context, batchDeleteIterator awsSdkGoServiceS3S3manager.BatchDeleteIterator) error
func (*BatchDeleteWithClient) SetDeleteOutput ¶ added in v1.31.0
func (b *BatchDeleteWithClient) SetDeleteOutput(output error)
type DeleteObjectWithContextInput ¶
type DeleteObjectWithContextInput struct {
Input *awsSdkGoServiceS3.DeleteObjectInput
Options []awsSdkGoAwsRequest.Option
}
type DeleteObjectWithContextOutput ¶
type DeleteObjectWithContextOutput struct {
Output *awsSdkGoServiceS3.DeleteObjectOutput
Error error
}
type DownloadWithContextInput ¶
type DownloadWithContextInput struct {
WriterAt io.WriterAt
Input *awsSdkGoServiceS3.GetObjectInput
Options []func(*awsSdkGoServiceS3S3manager.Downloader)
}
type Downloader ¶ added in v1.31.0
type Downloader struct {
awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI
DownloadWithContextInvocations int
DownloadWithContextInputs []DownloadWithContextInput
DownloadWithContextStub func(ctx awsSdkGoAws.Context, writerAt io.WriterAt, input *awsSdkGoServiceS3.GetObjectInput, options ...func(*awsSdkGoServiceS3S3manager.Downloader)) (int64, error)
DownloadWithContextOutputs []DownloadWithContextOutput
DownloadWithContextOutput *DownloadWithContextOutput
}
func NewDownloader ¶ added in v1.31.0
func NewDownloader() *Downloader
func (*Downloader) AssertOutputsEmpty ¶ added in v1.31.0
func (d *Downloader) AssertOutputsEmpty()
func (*Downloader) DownloadWithContext ¶ added in v1.31.0
func (d *Downloader) DownloadWithContext(ctx awsSdkGoAws.Context, writerAt io.WriterAt, input *awsSdkGoServiceS3.GetObjectInput, options ...func(*awsSdkGoServiceS3S3manager.Downloader)) (int64, error)
func (*Downloader) SetDownloadWithContextOutput ¶ added in v1.31.0
func (d *Downloader) SetDownloadWithContextOutput(output DownloadWithContextOutput)
type HeadObjectWithContextInput ¶
type HeadObjectWithContextInput struct {
Input *awsSdkGoServiceS3.HeadObjectInput
Options []awsSdkGoAwsRequest.Option
}
type HeadObjectWithContextOutput ¶
type HeadObjectWithContextOutput struct {
Output *awsSdkGoServiceS3.HeadObjectOutput
Error error
}
type NewDeleteListIteratorInput ¶ added in v1.31.0
type NewDeleteListIteratorInput struct {
ListObjectsInput *awsSdkGoServiceS3.ListObjectsInput
Options []func(*awsSdkGoServiceS3S3manager.DeleteListIterator)
}
type S3 ¶
type S3 struct {
awsSdkGoServiceS3S3iface.S3API
HeadObjectWithContextInvocations int
HeadObjectWithContextInputs []HeadObjectWithContextInput
HeadObjectWithContextStub func(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3.HeadObjectInput, options ...awsSdkGoAwsRequest.Option) (*awsSdkGoServiceS3.HeadObjectOutput, error)
HeadObjectWithContextOutputs []HeadObjectWithContextOutput
HeadObjectWithContextOutput *HeadObjectWithContextOutput
DeleteObjectWithContextInvocations int
DeleteObjectWithContextInputs []DeleteObjectWithContextInput
DeleteObjectWithContextStub func(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3.DeleteObjectInput, options ...awsSdkGoAwsRequest.Option) (*awsSdkGoServiceS3.DeleteObjectOutput, error)
DeleteObjectWithContextOutputs []DeleteObjectWithContextOutput
DeleteObjectWithContextOutput *DeleteObjectWithContextOutput
}
func (*S3) AssertOutputsEmpty ¶
func (s *S3) AssertOutputsEmpty()
func (*S3) DeleteObjectWithContext ¶
func (s *S3) DeleteObjectWithContext(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3.DeleteObjectInput, options ...awsSdkGoAwsRequest.Option) (*awsSdkGoServiceS3.DeleteObjectOutput, error)
func (*S3) HeadObjectWithContext ¶
func (s *S3) HeadObjectWithContext(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3.HeadObjectInput, options ...awsSdkGoAwsRequest.Option) (*awsSdkGoServiceS3.HeadObjectOutput, error)
func (*S3) SetDeleteObjectWithContextOutput ¶ added in v1.31.0
func (s *S3) SetDeleteObjectWithContextOutput(output DeleteObjectWithContextOutput)
func (*S3) SetHeadObjectWithContextOutput ¶ added in v1.31.0
func (s *S3) SetHeadObjectWithContextOutput(output HeadObjectWithContextOutput)
type S3Manager ¶
type S3Manager struct {
DownloaderInvocations int
DownloaderStub func() awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI
DownloaderOutputs []awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI
DownloaderOutput *awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI
UploaderInvocations int
UploaderStub func() awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI
UploaderOutputs []awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI
UploaderOutput *awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI
NewBatchDeleteWithClientInvocations int
NewBatchDeleteWithClientInputs [][]func(*awsSdkGoServiceS3S3manager.BatchDelete)
NewBatchDeleteWithClientStub func(options ...func(*awsSdkGoServiceS3S3manager.BatchDelete)) *awsSdkGoServiceS3S3manager.BatchDelete
NewBatchDeleteWithClientOutputs []aws.BatchDeleteWithClient
NewBatchDeleteWithClientOutput *aws.BatchDeleteWithClient
NewDeleteListIteratorInvocations int
NewDeleteListIteratorInputs []NewDeleteListIteratorInput
NewDeleteListIteratorStub func(listObjectsInput *awsSdkGoServiceS3.ListObjectsInput, options ...func(*awsSdkGoServiceS3S3manager.DeleteListIterator)) awsSdkGoServiceS3S3manager.BatchDeleteIterator
NewDeleteListIteratorOutputs []awsSdkGoServiceS3S3manager.BatchDeleteIterator
NewDeleteListIteratorOutput *awsSdkGoServiceS3S3manager.BatchDeleteIterator
}
func NewS3Manager ¶
func NewS3Manager() *S3Manager
func (*S3Manager) AssertOutputsEmpty ¶
func (s *S3Manager) AssertOutputsEmpty()
func (*S3Manager) Downloader ¶ added in v1.31.0
func (s *S3Manager) Downloader() awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI
func (*S3Manager) NewBatchDeleteWithClient ¶ added in v1.31.0
func (s *S3Manager) NewBatchDeleteWithClient(options ...func(*awsSdkGoServiceS3S3manager.BatchDelete)) aws.BatchDeleteWithClient
func (*S3Manager) NewDeleteListIterator ¶ added in v1.31.0
func (s *S3Manager) NewDeleteListIterator(listObjectsInput *awsSdkGoServiceS3.ListObjectsInput, options ...func(*awsSdkGoServiceS3S3manager.DeleteListIterator)) awsSdkGoServiceS3S3manager.BatchDeleteIterator
func (*S3Manager) SetDownloaderOutput ¶ added in v1.31.0
func (s *S3Manager) SetDownloaderOutput(output awsSdkGoServiceS3S3managerS3manageriface.DownloaderAPI)
func (*S3Manager) SetNewBatchDeleteWithClientOutput ¶ added in v1.31.0
func (s *S3Manager) SetNewBatchDeleteWithClientOutput(output aws.BatchDeleteWithClient)
func (*S3Manager) SetNewDeleteListIteratorOutput ¶ added in v1.31.0
func (s *S3Manager) SetNewDeleteListIteratorOutput(output awsSdkGoServiceS3S3manager.BatchDeleteIterator)
func (*S3Manager) SetUploaderOutput ¶ added in v1.31.0
func (s *S3Manager) SetUploaderOutput(output awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI)
func (*S3Manager) Uploader ¶ added in v1.31.0
func (s *S3Manager) Uploader() awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI
type UploadWithContextInput ¶
type UploadWithContextInput struct {
Input *awsSdkGoServiceS3S3manager.UploadInput
Options []func(*awsSdkGoServiceS3S3manager.Uploader)
}
type UploadWithContextOutput ¶
type UploadWithContextOutput struct {
Output *awsSdkGoServiceS3S3manager.UploadOutput
Error error
}
type Uploader ¶ added in v1.31.0
type Uploader struct {
awsSdkGoServiceS3S3managerS3manageriface.UploaderAPI
UploadWithContextInvocations int
UploadWithContextInputs []UploadWithContextInput
UploadWithContextStub func(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3S3manager.UploadInput, options ...func(*awsSdkGoServiceS3S3manager.Uploader)) (*awsSdkGoServiceS3S3manager.UploadOutput, error)
UploadWithContextOutputs []UploadWithContextOutput
UploadWithContextOutput *UploadWithContextOutput
}
func NewUploader ¶ added in v1.31.0
func NewUploader() *Uploader
func (*Uploader) AssertOutputsEmpty ¶ added in v1.31.0
func (u *Uploader) AssertOutputsEmpty()
func (*Uploader) SetUploadWithContextOutput ¶ added in v1.31.0
func (u *Uploader) SetUploadWithContextOutput(output UploadWithContextOutput)
func (*Uploader) UploadWithContext ¶ added in v1.31.0
func (u *Uploader) UploadWithContext(ctx awsSdkGoAws.Context, input *awsSdkGoServiceS3S3manager.UploadInput, options ...func(*awsSdkGoServiceS3S3manager.Uploader)) (*awsSdkGoServiceS3S3manager.UploadOutput, error)
Click to show internal directories.
Click to hide internal directories.