patcher

package
v1.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON6902FromYAML

func JSON6902FromYAML(patch, target []byte) ([]byte, error)

JSON6902FromYAML applies JSON6902 patch into target yaml bytes. It also returns an error, if any.

func JSON7396FromYAML

func JSON7396FromYAML(patch, target []byte) ([]byte, error)

JSON7396FromYAML applies JSON7396 patch into target yaml bytes. It also returns an error, if any.

func PatchesPatcher added in v1.5.0

func PatchesPatcher(patches []string, target []byte) ([]byte, error)

PatchesPatcher applies JSON6902 or StrategicMergePatch patches into target and returns it. It also returns an error, if any.

func YAMLInlinePatcher

func YAMLInlinePatcher(patch interface{}, target []byte) ([]byte, error)

YAMLInlinePatcher applies JSON7396 patches into target and returns it. It also returns an error, if any.

func YAMLPatcher

func YAMLPatcher(patch interface{}, target []byte) ([]byte, error)

YAMLPatcher applies JSON6902 patches into target and returns it. It also returns an error, if any.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL