Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( KubectlVersionCheck = kubectlVersion KustomizeBinaryCheck = kustomizeBinary )
for testing
Functions ¶
func DependenciesForKustomization ¶
DependenciesForKustomization finds common kustomize artifacts relative to the provided working dir, and collects them into a list of files to be passed to the file watcher.
func FindKustomizationConfig ¶
FindKustomizationConfig finds the kustomization config relative to the provided dir. A Kustomization config must be at the root of the directory. Kustomize will error if more than one of these files exists so order doesn't matter.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator provides the functions for the manifest sources (raw manifests, helm charts, kustomize configs and remote packages).
func NewGenerator ¶
NewGenerator instantiates a Generator object.
func (Generator) Generate ¶
Generate parses the config resources from the paths in .Generate.Manifests. This path can be the path to raw manifest, kustomize manifests, helm charts or kpt function configs. All should be file-watched.