Documentation
¶
Index ¶
- func Extrapolate(tpl string, values map[string]string) map[string]string
- func Generate(name string, data, out *[]byte, values map[string]string)
- func LoadFile(vals string) []byte
- func LoadVals(vals string, data []byte) map[string]string
- func MergeVals(prev map[string]string, next map[string]string)
- type Depends
- type Jobs
- type Pipeline
- type Stage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extrapolate ¶
Extrapolate renders a template and reads it to a map
Types ¶
type Pipeline ¶
type Pipeline struct {
Derive string `yaml:"derive"`
Stages map[string]*Stage `yaml:"stages"`
Values map[string]string `yaml:"values"`
}
Pipeline represents the complete workflow.
func (Pipeline) BuildDepends ¶
BuildDepends generates a dependency map
type Stage ¶
type Stage struct {
helm.Chart `yaml:",inline"`
Abandon bool `yaml:"abandon"` // install only
Values string `yaml:"values"` // env specific values
Requires []string `yaml:"requires"` // env requirements
Depends []string `yaml:"depends"` // dependencies
Jobs Jobs `yaml:"jobs"` // bash jobs
Templates []string `yaml:"templates"` // templates
}
Stage represents a single part of the deployment pipeline
Click to show internal directories.
Click to hide internal directories.