api – sigs.k8s.io/kustomize/api Directories

api command

A dummy main to help with releasing the kustomize API module.

Directories

PathSynopsis
builtinsDeprecated: Package api/builtins will not be available in API v1.
filesysPackage filesys provides a file system abstraction, a subset of that provided by golang.org/pkg/os, with an on-disk and in-memory representation.
filters
filters/annotationsPackage annotations contains a kio.Filter implementation of the kustomize annotations transformer.
filters/fieldspecPackage fieldspec contains a yaml.Filter to modify a resource that matches the FieldSpec.
filters/filtersutil
filters/fsslicePackage fsslice contains a yaml.Filter to modify a resource if it matches one or more FieldSpec entries.
filters/iampolicygeneratorPackage gkesagenerator contains a kio.Filter that that generates a iampolicy-related resources for a given cloud provider
filters/imagetagPackage imagetag contains two kio.Filter implementations to cover the functionality of the kustomize imagetag transformer.
filters/labelsPackage labels contains a kio.Filter implementation of the kustomize labels transformer.
filters/namerefPackage nameref contains a kio.Filter implementation of the kustomize name reference transformer.
filters/namespacePackage namespace contains a kio.Filter implementation of the kustomize namespace transformer.
filters/patchjson6902Package namespace contains a kio.Filter implementation of the kustomize patchjson6902 transformer
filters/patchstrategicmergePackage patchstrategicmerge contains a kio.Filter implementation of the kustomize strategic merge patch transformer.
filters/prefixPackage prefix contains a kio.Filter implementation of the kustomize PrefixTransformer.
filters/refvarPackage refvar contains a kio.Filter implementation of the kustomize refvar transformer (find and replace $(FOO) style variables in strings).
filters/replacementPackage replacement contains a kio.Filter implementation of the kustomize replacement transformer (accepts sources and looks for targets to replace their values with values from the sources).
filters/replicacountPackage replicacount contains a kio.Filter implementation of the kustomize ReplicaCountTransformer.
filters/suffixPackage suffix contains a kio.Filter implementation of the kustomize SuffixTransformer.
filters/valueadd
hasher
ifcPackage ifc holds miscellaneous interfaces used by kustomize.
internal
konfigPackage konfig provides configuration methods and constants for the kustomize API, e.g.
krustyPackage krusty is intended as the entry point package for those seeking to add kustomize ability to other programs.
krusty/localizer
kv
pkg
pkg/loaderPackage pkg has all the helpers to interact with the api.
pkg/util
provenance
provider
resmapPackage resmap implements a map from ResId to Resource that tracks all resources in a kustomization.
resourcePackage resource implements representations of k8s API resources.
testutils
testutils/filtertest
testutils/kusttest
testutils/localizertest
testutils/resmaptest
testutils/valtestPackage valtest_test defines a fakeValidator that can be used in tests
typesPackage types holds the definition of the kustomization struct and supporting structs.
Version
v0.20.0 (latest)
Published
Jun 28, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
2 days ago

Tools for package owners.