Documentation ¶
Overview ¶
Package s3 defines a service for calling into the S3 client that the AWS SDK exposes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3ManagerUploader ¶
type S3ManagerUploader interface { Upload( input *s3manager.UploadInput, options ...func(*s3manager.Uploader), ) (*s3manager.UploadOutput, error) }
S3ManagerUploader knows how to use the AWS S3 SDK to upload files. This more narrow interface definition replaces the dependency on the `s3manager.Uploader` concrete type, and aids primarily in defining simple test doubles
type S3Uploader ¶
S3Uploader uploads files to AWS S3
func NewS3Uploader ¶
func NewS3Uploader( s3UploadManager S3ManagerUploader, toBucket string, logger *logrus.Logger, ) S3Uploader
NewS3Uploader creates a new uploader service for a given destination bucket in AWS S3
Click to show internal directories.
Click to hide internal directories.