Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CBosh ¶
type CBosh struct { Name string `yaml:"name"` CLIPath string `yaml:"cli-path"` CreateEnv bool `yaml:"create-env"` Environment string `yaml:"environment"` Client string `yaml:"client"` ClientSecret string `yaml:"client-secret"` CaCert string `yaml:"ca-cert"` }
CBosh represents bosh configuration either a director
type CDeployment ¶
CDeployment represents single bosh deployment configuration
type CInstanceFilters ¶
type CInstanceFilters struct { InstanceGroup string `yaml:"instance_group"` Instances []string `yaml:"instances"` }
CInstanceFilters filters where to run instances
type CSpec ¶
type CSpec struct { Name string `yaml:"name"` SpecType string `yaml:"type"` Path string `yaml:"path"` LocalExec bool `yaml:"local_exec"` Sudo bool `yaml:"sudo"` Filters CInstanceFilters `yaml:"filters"` Envs map[string]string `yaml:"envs"` Params interface{} `yaml:"params"` }
CSpec specs that will run
type Config ¶
type Config struct { ConfBosh []CBosh `yaml:"bosh"` ConfSpecs []CSpec `yaml:"specs"` ConfigDeployments []CDeployment `yaml:"deployments"` }
Config represents the config read from file
func InitConfig ¶
InitConfig begin parsing the config file
type MergedConfig ¶
type MergedConfig struct { ConfBosh CBosh ConfigDeployment CDeployment ConfSpec CSpec }
MergedConfig represents one merged configuration
Click to show internal directories.
Click to hide internal directories.