configpatcher

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package configpatcher provides methods to patch Talos config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON6902

func JSON6902(talosMachineConfig []byte, patch jsonpatch.Patch) ([]byte, error)

JSON6902 is responsible for applying a JSON 6902 patch to the bootstrap data.

func LoadPatch added in v1.0.0

func LoadPatch(in []byte) (p jsonpatch.Patch, err error)

LoadPatch loads the JSON patch either from JSON or YAML.

func LoadPatches added in v1.0.0

func LoadPatches(in []string) (jsonpatch.Patch, error)

LoadPatches loads the JSON patch either from value literal or from a file if the patch starts with '@'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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