Help us shape the future of Go! Take the 2026 Go Developer Survey

yml

package
v0.71.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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 Node

type Node yaml.Node

func (*Node) Items

func (n *Node) Items(callback func(index int, node *Node) error) error

func (*Node) Lookup

func (n *Node) Lookup(name string) *Node

func (*Node) Pairs

func (n *Node) Pairs(callback func(key string, node *Node) error) error

type Nodes

type Nodes []*yaml.Node

func (Nodes) Append

func (n Nodes) Append(key, values string) []*yaml.Node

func (Nodes) AppendScalar

func (n Nodes) AppendScalar(key string) []*yaml.Node

func (Nodes) Filter

func (n Nodes) Filter(names map[string]bool) []*yaml.Node

func (Nodes) FilterNode

func (n Nodes) FilterNode(name string) []*yaml.Node

func (Nodes) LookupNode

func (n Nodes) LookupNode(name string) *yaml.Node

func (Nodes) LookupNodeValue

func (n Nodes) LookupNodeValue(name string) string

func (Nodes) LookupValueNode

func (n Nodes) LookupValueNode(name string) *yaml.Node

func (Nodes) Map

func (n Nodes) Map() (*yaml.Node, error)

Jump to

Keyboard shortcuts

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