model

package
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation struct {
	Op    yamlpatch.Op     `yaml:"op,omitempty"`
	Path  yamlpatch.OpPath `yaml:"path,omitempty"`
	From  yamlpatch.OpPath `yaml:"from,omitempty"`
	Value *yamlpatch.Node  `yaml:"value,omitempty"`
	Type  yamlpatch.Op     `yaml:"type,omitempty"`
}

func (Operation) ToYamlPatch

func (c Operation) ToYamlPatch() yamlpatch.Operation

func (*Operation) UnmarshalYAML

func (c *Operation) UnmarshalYAML(unmarshal func(interface{}) error) error

type Patch

type Patch struct {
	ConfigFile string       `yaml:"config_file"`
	ConfigType string       `yaml:"config_type"`
	Patches    []*Operation `yaml:"patches"`
}

Jump to

Keyboard shortcuts

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