yml_utils

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Yaml3PathNode

type Yaml3PathNode interface {
	GetPrev() Yaml3PathNode
	SetPrev(prev Yaml3PathNode)
	GetNext() Yaml3PathNode
	SetNext(next Yaml3PathNode)
	GetScalarValueFrom(node *yaml.Node) (string, error)
	SetScalarValueTo(node *yaml.Node, value string, style yaml.Style) error
}

Yaml3PathNode is a node of YmlPath

func ParseYmlPath

func ParseYmlPath(path string) (Yaml3PathNode, error)

ParseYmlPath parses yaml path string and returns path node

Jump to

Keyboard shortcuts

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