Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppTag = "Application" ASGTag = "aws:autoscaling:groupName" CommitTag = "BuildCommit" LTVersionTag = "aws:ec2launchtemplate:version" NameTag = "Name" ServiceTag = "Service" TypeTag = "Type" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialCache ¶
type CredentialCache struct {
RootAWSConfig *aws.Config `yaml:"-"`
RootSession *session.Session `yaml:"-"`
// contains filtered or unexported fields
}
func (*CredentialCache) ForARN ¶
func (cache *CredentialCache) ForARN(arn string) *SessionDetails
type Omat ¶
type Omat struct {
Credentials *CredentialCache `yaml:"-"`
OrganizationPrefix string `yaml:"organizationPrefix"`
Region string `yaml:"region"`
Environment string `yaml:"environment"`
DeployService string `yaml:"deployService"`
BuildAccountSlug string `yaml:"buildAccountSlug"`
DeployAccountSlug string `yaml:"deployAccountSlug"`
}
func (*Omat) InitCredentials ¶
func (omat *Omat) InitCredentials()
func (*Omat) LoadConfig ¶
type SessionDetails ¶
type SessionDetails struct {
Session *session.Session
Credentials *credentials.Credentials
Config *aws.Config
}
Click to show internal directories.
Click to hide internal directories.