Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBucketObj ¶
DownloadBucketObj returns the content for S3 bucket object
Types ¶
type HeadBucketAPIClient ¶
type HeadBucketAPIClient interface {
HeadObject(context.Context, *s3.HeadObjectInput, ...func(*s3.Options)) (*s3.HeadObjectOutput, error)
}
HeadBucketAPIClient is an S3 API client that can invoke the HeadBucket operation.
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
S3Client struct is used to hold s3.Client, manager.Downloader corresponding interfaces
func NewS3Client ¶
NewS3Client returns S3Client initialized with AWS credentials
type S3DownloadManager ¶
type S3DownloadManager interface {
Download(ctx context.Context, w io.WriterAt, input *s3.GetObjectInput, options ...func(*manager.Downloader)) (n int64, err error)
}
S3DownloadManager is an S3 manager that can invoke the Download operation.
Click to show internal directories.
Click to hide internal directories.