Documentation ¶
Index ¶
- func JSON6902FromYAML(patch, target []byte) ([]byte, error)
- func JSON7396FromYAML(patch, target []byte) ([]byte, error)
- func PatchesPatcher(patches []string, target []byte) ([]byte, error)
- func YAMLInlinePatcher(patch interface{}, target []byte) ([]byte, error)
- func YAMLPatcher(patch interface{}, target []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON6902FromYAML ¶
JSON6902FromYAML applies JSON6902 patch into target yaml bytes. It also returns an error, if any.
func JSON7396FromYAML ¶
JSON7396FromYAML applies JSON7396 patch into target yaml bytes. It also returns an error, if any.
func PatchesPatcher ¶ added in v1.5.0
PatchesPatcher applies JSON6902 or StrategicMergePatch patches into target and returns it. It also returns an error, if any.
func YAMLInlinePatcher ¶
YAMLInlinePatcher applies JSON7396 patches into target and returns it. It also returns an error, if any.
func YAMLPatcher ¶
YAMLPatcher applies JSON6902 patches into target and returns it. It also returns an error, if any.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.