Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Kind is the kind for the kustomize function.
Kind = "Fields"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fields ¶
type Fields struct {
// Kind is the API name.
Kind string `yaml:"kind"`
// APIVersion is the API version. Must be examples.kpt.dev/v1alpha1
APIVersion string `yaml:"apiVersion"`
// Metadata defines instance metadata.
Metadata v1alpha1.Metadata `yaml:"metadata"`
// Spec defines the desired declarative configuration.
Spec Spec `yaml:"spec"`
}
Fields is a custom kustomize function that can be used to delete/remove fields from manifests
Click to show internal directories.
Click to hide internal directories.