Documentation ¶
Index ¶
- func DeleteDirectory(awsSession *session.Session, bucket string, prefix string) ([]error, error)
- func DeleteObject(awsSession *session.Session, bucket string, key string) error
- func DownloadObject(awsSession *session.Session, bucket string, key string) ([]byte, error)
- func ListObjects(awsSession *session.Session, bucket string, prefix string, ...) error
- func ListObjectsPages(awsSession *session.Session, bucket string, prefix string, ...) error
- func UploadObject(file io.Reader, awsSession *session.Session, bucket string, key string) error
- type DeleteDirectoryJob
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListObjects ¶
func ListObjects(awsSession *session.Session, bucket string, prefix string, callback func(key string)) error
ListObjects ...
Lists all keys for a specific bucket and prefix without paging and returns each key via a callback arg returns the first 1000 keys and no more
Types ¶
type DeleteDirectoryJob ¶
type DeleteDirectoryJob struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.