Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { Sources map[string][]Source KeyedComponents map[string]Component KeyedOverlays map[string]Overlay ManifestRoot string Vars map[string]string }
func NewBuilder ¶
func NewBuilder(config BuilderConfig) Builder
func NewBuilderFromConfig ¶
type BuilderConfig ¶
type Component ¶
type Component struct {
Name string
}
A component used for the configuration, such as istio, istio-crds, argo, etc.
type ConfigMapItem ¶
type GeneratorItem ¶
type GeneratorItem struct {
DisableNameSuffixHash bool `yaml:"disableNameSuffixHash"`
}
type Kustomize ¶
type Kustomize struct { ApiVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Resources []string `yaml:"resources"` Configurations []string `yaml:"configurations"` ConfigMapItems []ConfigMapItem `yaml:"configMapGenerator"` GeneratorOptions GeneratorItem `yaml:"generatorOptions"` Vars []VarItem `yaml:"vars"` }
type Overlay ¶
type Overlay struct {
Name string
}
An overlay specified for all components. E.g. gcp. If a configuration has a gcp specific overlay it should be used.
type Source ¶
type Source struct { AbsolutePath string // path in the filesystem to the file used ManifestPath string // path relative to the manifests root directory Name string // name of the configuration. E.g. istio, istio-crds. This is a configuration which must have a base directory under it. IsOverlay bool Order int }
The source of a configuration file used.
Click to show internal directories.
Click to hide internal directories.