Documentation ¶
Overview ¶
Package patch contains helpers for applying patches
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KubeYAML ¶
KubeYAML takes a Kubernetes object YAML document stream to patch, merge patches, and JSON 6902 patches.
It returns a patched a YAML document stream.
Matching is performed on Kubernetes style v1 TypeMeta fields (kind and apiVersion), between the YAML documents and the patches.
Patches match if their kind and apiVersion match a document, with the exception that if the patch does not set apiVersion it will be ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.