Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func (*S3Client) BucketExists ¶
BucketExists returns whether the bucket exists. 200 OK returns true without error. 404 Not Found and 403 Forbidden return false without error. Other errors result in false with an error.
func (*S3Client) Get ¶
Get downloads an object from S3. Intended for small files; object is fully read into memory. sentinel.ErrNotFound and sentinel.ErrForbidden are returned for those cases. Other errors are returned verbatim.
func (*S3Client) ListSuffix ¶
ListSuffix returns a list of keys in the bucket that have the given prefix and suffix. This has a maximum of 1000 keys, for now. This can be expanded by using the continuation token.
Click to show internal directories.
Click to hide internal directories.