Documentation
¶
Overview ¶
Package yamled implements helpers for in-place editing of YAML sources.
Moved to https://github.com/vmware-labs/go-yaml-edit
Release v0.1.4 is the last release of this package, which is now implemented in terms of `github.com/vmware-labs/go-yaml-edit`, i.e. clients can safely depend on both import paths and Go module minimal version selection will do the right thing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Transformer ¶
type Transformer = yamled.Transformer
A Transformer implements golang.org/x/text/transform.Transformer and can be used to perform precise in-place edits of yaml nodes in an byte stream.
func T ¶
func T(ops ...splice.Op) *Transformer
T creates a transformer that performs YAML-aware edit operations.
Click to show internal directories.
Click to hide internal directories.