Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Api ¶
type S3Api interface { // ListAllKeys list all the keys in a prefix/path of a bucket ListAllKeys(bucketName string, prefix string) ([]string, error) // Upload upload a slice of path to a bucket and prefix Upload(bucketName string, prefix string, uploadPaths []string, uploaded chan<- string) error }
S3Api describe the calls to AWS S3 API
type S3LocalCred ¶
type S3LocalCred struct {
AwsRegion string
}
S3LocalCred holds aws configs to use AWS local credentials configured by awscli.
func (*S3LocalCred) ListAllKeys ¶
func (s *S3LocalCred) ListAllKeys(bucketName string, prefix string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.