Documentation ¶
Index ¶
- Constants
- func AvailabilityZones() ([]string, error)
- func CreateS3Bucket(bucketName string, profile string, region string) (string, error)
- func GetAccountIDAndRegion(profile string, region string) (string, string, error)
- func GetContainerRegistryHost() (string, error)
- func GetRegionFromContainerRegistryHost(dockerRegistry string) string
- func LazyCreateRegistry(dockerRegistry string, orgName string, appName string) error
- func NewAwsSession(profileOption string, regionOption string) (*session.Session, error)
- func NewAwsSessionWithoutOptions() (*session.Session, error)
- func RegisterAwsCustomDomain(customDomain string, elbAddress string) error
- func ResolveRegion(profileOption string, regionOption string) (string, error)
- func ResolveRegionWithoutOptions() (string, error)
Constants ¶
View Source
const DefaultRegion = "us-west-2"
Variables ¶
This section is empty.
Functions ¶
func AvailabilityZones ¶
func CreateS3Bucket ¶
CreateS3Bucket creates a new S3 bucket in the default region with the given bucket name returning the location string
func GetAccountIDAndRegion ¶
GetAccountID returns the current account ID
func GetContainerRegistryHost ¶
GetContainerRegistryHost
func LazyCreateRegistry ¶
LazyCreateRegistry lazily creates the ECR registry if it does not already exist
func NewAwsSession ¶
func RegisterAwsCustomDomain ¶
RegisterAwsCustomDomain registers a wildcard ALIAS for the custom domain to point at the given ELB host name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.