installations

package
v0.3.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 HostCluster struct {
	Account          string `yaml:"account"`
	CloudtrailBucket string `yaml:"cloudtrailBucket"`
	AdminRoleArn     string `yaml:"adminRoleARN"`
	GuardDuty        bool   `yaml:"guardDuty"`
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL