Documentation ¶
Index ¶
- func ApplyFixedValueToDynamicFieleds(t v1alpha1.SnapshotConfig, docs []*yaml.RNode) error
- func Decode(bs []byte) (out []*yaml.RNode, err error)
- func Encode(resources []*yaml.RNode) ([]byte, error)
- func Replace(doc *yaml.RNode, path, value string) error
- func SetLogger(slogr *slog.Logger)
- type DiffOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFixedValueToDynamicFieleds ¶
func ApplyFixedValueToDynamicFieleds(t v1alpha1.SnapshotConfig, docs []*yaml.RNode) error
Types ¶
type DiffOptions ¶
type DiffOptions struct {
ContextLineN int
}
func MergeDiffOptions ¶
func MergeDiffOptions(opts []DiffOptions) DiffOptions
func (*DiffOptions) Diff ¶
func (o *DiffOptions) Diff(x, y string) string
Click to show internal directories.
Click to hide internal directories.