Documentation ¶
Index ¶
- func ApplyPatchNew(resource, patch []byte) ([]byte, error)
- func ApplyPatches(resource []byte, patches [][]byte) ([]byte, error)
- func ConvertToUnstructured(data []byte) (*unstructured.Unstructured, error)
- func GetAnchorsFromMap(anchorsMap map[string]interface{}) map[string]interface{}
- func JsonPointerToJMESPath(jsonPointer string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPatchNew ¶
ApplyPatchNew patches given resource with given joined patches
func ApplyPatches ¶
ApplyPatches patches given resource with given patches and returns patched document return original resource if any error occurs
func ConvertToUnstructured ¶
func ConvertToUnstructured(data []byte) (*unstructured.Unstructured, error)
ConvertToUnstructured converts the resource to unstructured format
func GetAnchorsFromMap ¶
GetAnchorsFromMap gets the conditional anchor map
func JsonPointerToJMESPath ¶ added in v1.4.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.