builder

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidPathSyntax occurs when a fully-qualified dot-notation path is not passed.
	ErrInvalidPathSyntax = errors.New("invalid path syntax")
	// ErrWildCardNotAllowed occurs when a '*' symbol is passed in the query.
	ErrWildCardNotAllowed = errors.New("wildcard notation not allowed for build")
)

Functions

This section is empty.

Types

type Path

type Path struct {
	Path string
	// contains filtered or unexported fields
}

func NewPath

func NewPath(path string) (*Path, error)

NewPath constructs a Path from a string expression.

func (*Path) BuildPath

func (p *Path) BuildPath() (*yaml.Node, error)

BuildPath constructs a Path from a string expression.

type Paths

type Paths []*Path

func NewPaths

func NewPaths(paths []string) (*Paths, error)

func (*Paths) BuildPaths

func (paths *Paths) BuildPaths() (*yaml.Node, error)

Jump to

Keyboard shortcuts

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