package
0.2.0
Repository: https://github.com/ondat/operator-toolkit.git
Documentation: pkg.go.dev

# Functions

AddCommonLabels returns a MutateFunc which adds common annotations to a kustomization object.
AddCommonLabels returns a MutateFunc which adds common labels to a kustomization object.
AddImages returns a MutateFunc which adds images to kustomization object.
AddNamePrefix returns a MutateFunc which adds namePrefix to kustomization object.
AddNamespace returns a MutateFunc which adds a namespace to kustomization object.
AddNameSuffix returns a MutateFunc which adds nameSuffix to kustomization object.
AddResources returns a MutateFunc which adds resources to kustomization object.
Kustomize takes a filesystem and a kustomization configuration and runs the kustomization on the filesystem.
LoadKustomization loads the byte content into a Kustomization object and returns it.
LoadKustomizationFromPackage loads and returns Kustomization object from a given package path.
Mutate takes a Kustomization object and a list of mutations to apply and applies all the mutations.
MutateAndKustomize applies all the mutations to a kustomization in a package, runs kustomize and returns the result.
WriteKustomizationInPackage takes a filesystem, a kustomization object and a package path and writes the kustomization file in the package.

# Type aliases

MutateFunc is a type for the kustomization mutate functions.