s3

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketExists

func BucketExists(bucketName string) (bool, error)

BucketExists checks whether the named bucket exists

func CreateBucket

func CreateBucket(bucketName string) error

CreateBucket creates a new S3 bucket

func RainBucket

func RainBucket(forceCreation bool) string

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

func Upload

func Upload(bucketName string, content []byte) (string, error)

Upload an artefact to the bucket with a unique name

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL