Documentation ¶
Overview ¶
Package configpatcher provides methods to patch Talos config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StrategicMerge ¶
StrategicMerge performs strategic merge config patching.
Types ¶
type Input ¶
Input to the patch application process.
func WithConfig ¶
WithConfig returns a new Input that wraps the given config.
type Patch ¶
type Patch any
Patch is either JSON patch or strategic merge patch.
func LoadPatch ¶
LoadPatch loads the strategic merge patch or JSON patch (JSON/YAML for JSON patch).
func LoadPatches ¶
LoadPatches loads the JSON patch either from value literal or from a file if the patch starts with '@'.
type StrategicMergePatch ¶
StrategicMergePatch is a strategic merge config patch.
Click to show internal directories.
Click to hide internal directories.