Versions in this module Expand all Collapse all v1 v1.11.1 Jun 20, 2024 v1.11.0 Jun 20, 2024 Changes in this version + const DisabledValue + func Build(fs filesys.FileSystem, dirPath string) (res resmap.ResMap, err error) + func CleanDirectory(dirPath string, action Action) error + func IsLocalRelativePath(path string) bool + func SecureBuild(root, dirPath string, allowRemoteBases bool) (res resmap.ResMap, err error) + func SubstituteVariables(ctx context.Context, kubeClient client.Client, ...) (*resource.Resource, error) + type Action string + const CreatedAction + const UnchangedAction + type Generator struct + func NewGenerator(root string, kustomization unstructured.Unstructured) *Generator + func NewGeneratorWithIgnore(root, ignore string, kustomization unstructured.Unstructured) *Generator + func (g *Generator) WriteFile(dirPath string, opts ...SavingOptions) (Action, error) + type SavingOptions func(dirPath, file string, action Action) error + func WithSaveOriginalKustomization() SavingOptions + type SubstituteOption func(a *SubstituteOptions) + func SubstituteWithDryRun(dryRun bool) SubstituteOption + func SubstituteWithStrict(strict bool) SubstituteOption + type SubstituteOptions struct + DryRun bool + Strict bool + type SubstituteReference struct + Kind string + Name string + Optional bool