Documentation ¶
Overview ¶
Package ifc holds miscellaneous interfaces used by kustomize.
Index ¶
Constants ¶
View Source
const SecretTypeOpaque = "Opaque"
See core.v1.SecretTypeOpaque
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kunstructured ¶
type Kunstructured interface { Map() map[string]interface{} SetMap(map[string]interface{}) Copy() Kunstructured GetFieldValue(string) (string, error) MarshalJSON() ([]byte, error) UnmarshalJSON([]byte) error GetGvk() gvk.Gvk GetKind() string GetName() string SetName(string) GetLabels() map[string]string SetLabels(map[string]string) GetAnnotations() map[string]string SetAnnotations(map[string]string) }
Kunstructured allows manipulation of k8s objects that do not have Golang structs.
type KunstructuredFactory ¶
type KunstructuredFactory interface { SliceFromBytes([]byte) ([]Kunstructured, error) FromMap(m map[string]interface{}) Kunstructured MakeConfigMap(args *types.ConfigMapArgs, options *types.GeneratorOptions) (Kunstructured, error) MakeSecret(args *types.SecretArgs, options *types.GeneratorOptions) (Kunstructured, error) Set(ldr Loader) }
KunstructuredFactory makes instances of Kunstructured.
type Loader ¶
type Loader interface { // Root returns the root location for this Loader. Root() string // New returns Loader located at newRoot. New(newRoot string) (Loader, error) // Load returns the bytes read from the location or an error. Load(location string) ([]byte, error) // Cleanup cleans the loader Cleanup() error }
Loader interface exposes methods to read bytes.
Directories ¶
Path | Synopsis |
---|---|
Package patch holds miscellaneous interfaces used by kustomize.
|
Package patch holds miscellaneous interfaces used by kustomize. |
Click to show internal directories.
Click to hide internal directories.