Documentation ¶
Index ¶
- Variables
- func BucketExists(bucketName string) (bool, error)
- func BucketHasContents(bucketName string) (bool, error)
- func CreateBucket(bucketName string) error
- func DeleteObject(bucketName string, key string) error
- func GetObject(bucketName string, key string) ([]byte, error)
- func PutObject(bucketName string, key string, body []byte) error
- func RainBucket(forceCreation bool) string
- func Upload(bucketName string, content []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var BucketKeyPrefix = ""
View Source
var BucketName = ""
Functions ¶
func BucketExists ¶
BucketExists checks whether the named bucket exists
func BucketHasContents ¶ added in v1.4.0
Returns true if the bucket is not empty
func DeleteObject ¶ added in v1.7.0
DeleteObject deletes an object from a bucket
func RainBucket ¶
RainBucket returns the name of the rain deployment bucket in the current region and asks the user if they wish it to be created if it does not exist unless forceCreation is true, then it will not ask
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.