Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetData ¶
func GetData(i *Installations) ([]byte, error)
Types ¶
type AwsConfig ¶
type AwsConfig struct {
Region string `yaml:"region"`
HostCluster HostCluster `yaml:"hostCluster"`
}
type HostCluster ¶
type Installations ¶
type Installations struct {
Base string `yaml:"base"`
Codename string `yaml:"codename"`
Customer string `yaml:"customer"`
CmcRepository string `yaml:"cmc_repository"`
CcrRepository string `yaml:"ccr_repository"`
AccountEngineer string `yaml:"accountEngineer"`
Pipeline string `yaml:"pipeline"`
Provider string `yaml:"provider"`
AdditionalProviders []string `yaml:"additionalProviders,omitempty"`
Aws AwsConfig `yaml:"aws,omitempty"`
}
func GetInstallations ¶
func GetInstallations(data []byte) (*Installations, error)
func GetInstallationsFromFile ¶
func GetInstallationsFromFile(path string) (*Installations, error)
func NewInstallations ¶
func NewInstallations(installationsConfig InstallationsConfig) *Installations
func (*Installations) Equals ¶
func (i *Installations) Equals(other *Installations) bool
func (*Installations) Override ¶
func (i *Installations) Override(override *Installations) *Installations
func (*Installations) Print ¶
func (i *Installations) Print() error
func (*Installations) Validate ¶
func (i *Installations) Validate() error
type InstallationsConfig ¶
type InstallationsConfig struct {
Base string
Codename string
Customer string
CmcRepository string
CcrRepository string
AccountEngineer string
Pipeline string
Provider string
AdditionalProviders []string
AwsRegion string
AwsHostClusterAccount string
AwsHostClusterAdminRoleArn string
AwsHostClusterGuardDuty bool
AwsHostClusterCloudtrailBucket string
}
Click to show internal directories.
Click to hide internal directories.