Documentation
¶
Index ¶
- func ListBucket(client *http.Client, url string, callback ListBucketCallback) error
- func NewSigningRoundTripper(transport http.RoundTripper, creds *credentials.Credentials, region string) http.RoundTripper
- type DirEntry
- type ListBucketCallback
- type ListBucketPage
- type ObjectVersion
- type S3UploadInput
- type S3UploadOutput
- type S3Uploader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListBucket ¶
func ListBucket(client *http.Client, url string, callback ListBucketCallback) error
func NewSigningRoundTripper ¶
func NewSigningRoundTripper(transport http.RoundTripper, creds *credentials.Credentials, region string) http.RoundTripper
NewSigningRoundTripper augments an http.RoundTripper to sign HTTP requests for a given set of credentials and region.
Types ¶
type ListBucketCallback ¶
type ListBucketCallback func(page *ListBucketPage) error
type ListBucketPage ¶
type ObjectVersion ¶
type S3UploadInput ¶
type S3UploadOutput ¶
type S3Uploader ¶
type S3Uploader struct { PartSize int64 Concurrency int MaxUploadParts int ProgressCounter *int64 S3 s3iface.S3API }
func NewS3Uploader ¶
func NewS3Uploader(svc s3iface.S3API, options ...func(*S3Uploader)) *S3Uploader
func (S3Uploader) Upload ¶
func (u S3Uploader) Upload(input *S3UploadInput, options ...func(*S3Uploader)) (*S3UploadOutput, error)
func (S3Uploader) UploadWithContext ¶
func (u S3Uploader) UploadWithContext(ctx aws.Context, input *S3UploadInput, opts ...func(*S3Uploader)) (*S3UploadOutput, error)
Click to show internal directories.
Click to hide internal directories.