Documentation ¶
Index ¶
- func CreateBucket(session *session.Session, bucketName, acl string) (*s3.CreateBucketOutput, error)
- func CreateBucketIfNotExists(session *session.Session, bucketName, acl string) (*s3.CreateBucketOutput, error)
- func GetParameter(session *session.Session, name string, withDecryption bool) (string, error)
- func GetPrivateKeyFromParameter(session *session.Session, name string) (*ecdsa.PrivateKey, error)
- func RestartTasksMatchingServiceName(session *session.Session, cluster, matchName string) error
- func UploadToBucket(session *session.Session, fileContent io.ReadSeeker, ...) (*s3manager.UploadOutput, error)
- func WaitUntilBucketExists(session *session.Session, bucketName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBucket ¶
CreateBucket to create a new bucket
func CreateBucketIfNotExists ¶
func CreateBucketIfNotExists(session *session.Session, bucketName, acl string) (*s3.CreateBucketOutput, error)
createBucketIfNotExists to either create a bucket, or return nil, nil if the bucket already exists
func GetParameter ¶
GetParameter to fetch a value from AWS parameter store
func GetPrivateKeyFromParameter ¶
GetPrivateKeyFromParameter to fetch and decode a private key from AWS parameter store
func RestartTasksMatchingServiceName ¶
RestartTasksMatchingServiceName to restart tasks created by services containing `matchName` in their names using `StopTask`
func UploadToBucket ¶
func UploadToBucket(session *session.Session, fileContent io.ReadSeeker, fileName, bucketName string) (*s3manager.UploadOutput, error)
UploadToBucket to put a file in a bucket
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.