Documentation ¶
Index ¶
- Constants
- func InternalRegistry(ctx context.Context) (string, error)
- func Region() (string, error)
- func S3CreateBucket(name string, acl string, region string) (string, error)
- func S3DeleteBucket(name string, region string, force bool) error
- func S3GetBucketLocation(bucket string, region string) (string, error)
- func S3ListBuckets(region string) (*[]string, error)
- func StackInfo(ctx context.Context, outputs *map[string]string) error
- type MetadataKey
Constants ¶
View Source
const ( AwsAvailabilityZoneURL = MetadataKey("http://169.254.169.254/latest/meta-data/placement/availability-zone/") AwsInstanceIdURL = MetadataKey("http://169.254.169.254/latest/meta-data/instance-id") AwsStackNameTag = "aws:cloudformation:stack-name" ErrMsgBucketAlreadyOwnedByYou = s3.ErrCodeBucketAlreadyOwnedByYou ErrMsgBucketAlreadyExists = s3.ErrCodeBucketAlreadyExists ErrMsgNoSuchBucket = s3.ErrCodeNoSuchBucket ErrMsgInvalidACL = "Invalid ACL" )
Variables ¶
This section is empty.
Functions ¶
func InternalRegistry ¶ added in v0.18.0
Registry return the internal registry endpoint
func S3CreateBucket ¶
S3CreateBucket creates an s3 bucket
func S3ListBuckets ¶
Types ¶
type MetadataKey ¶
type MetadataKey string
Click to show internal directories.
Click to hide internal directories.