Documentation
¶
Overview ¶
Package patch contains patch utils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySpec ¶
func CopySpec(in CopySpecInput) error
CopySpec copies a field from a srcSpecPath in src to a destSpecPath in dest, while preserving fieldsToPreserve.
Types ¶
type CopySpecInput ¶
type CopySpecInput struct {
Src *unstructured.Unstructured
Dest *unstructured.Unstructured
SrcSpecPath string
DestSpecPath string
FieldsToPreserve []contract.Path
}
CopySpecInput is a struct containing the input parameters of CopySpec.
Click to show internal directories.
Click to hide internal directories.