Documentation ¶
Index ¶
- func NewDocument() *yaml.Node
- func NewMap() *yaml.Node
- func NewSlice() *yaml.Node
- func ValueNode(value interface{}) *yaml.Node
- type Node
- func (n *Node) Append(value interface{})
- func (n *Node) Interface() interface{}
- func (n *Node) Items(callback func(index int, node *Node) error) error
- func (n *Node) Lookup(name string) *Node
- func (n *Node) Pairs(callback func(key string, node *Node) error) error
- func (n *Node) Put(key string, value interface{})
- type Nodes
- func (n Nodes) Append(key, values string) []*yaml.Node
- func (n Nodes) AppendScalar(key string) []*yaml.Node
- func (n Nodes) Filter(names map[string]bool) []*yaml.Node
- func (n Nodes) FilterNode(name string) []*yaml.Node
- func (n Nodes) LookupNode(name string) *yaml.Node
- func (n Nodes) LookupNodeValue(name string) string
- func (n Nodes) LookupValueNode(name string) *yaml.Node
- func (n Nodes) Map() (*yaml.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDocument ¶
func NewDocument() *yaml.Node
Types ¶
type Nodes ¶
type Nodes []*yaml.Node
func (Nodes) AppendScalar ¶
func (Nodes) FilterNode ¶
func (Nodes) LookupNode ¶
func (Nodes) LookupNodeValue ¶
func (Nodes) LookupValueNode ¶
Click to show internal directories.
Click to hide internal directories.