package
0.234.0
Repository: https://github.com/databricks/cli.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AnyIndex returns a pattern component that matches any index.
AnyKey returns a pattern component that matches any key.
Foreach returns a [MapFunc] that applies the specified [MapFunc] to each value in a map or sequence and returns the new map or sequence.
FromTime creates a new Time from the given time.Time.
Get returns the value inside the specified value at the specified path.
GetByPath returns the value inside the specified value at the specified path.
Index returns a path component for an index.
No description provided by the author
No description provided by the author
No description provided by the author
Key returns a path component for a key.
Map applies a function to the value at the given path in the given value.
MapByPath applies a function to the value at the given path in the given value.
MapByPattern applies a function to the values whose paths match the given pattern in the given value.
MustPathFromString is like NewPathFromString but panics on error.
MustTime creates a new Time from the given string.
NewMapping creates a new empty Mapping.
NewPath returns a new path from the given components.
NewPathFromString parses a path from a string.
NewPattern returns a new pattern from the given components.
NewPatternFromPath returns a new pattern from the given path.
NewTime creates a new Time from the given string.
NewValue constructs a new Value with the given value and location.
Set assigns a new value at the specified path in the specified value.
SetByPath assigns the given value at the specified path in the specified value.
V constructs a new Value with the given value.
Walk walks the configuration tree and calls the given function on each node.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
Invalid is the zero value of Kind.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

EmptyPath is the empty path.
ErrDrop may be returned by WalkValueFunc to remove a value from the subtree.
ErrSkip may be returned by WalkValueFunc to skip traversal of a subtree.
InvalidValue is equal to the zero-value of Value.
NilValue is a convenient constant for a nil value.

# Structs

No description provided by the author
Mapping represents a key-value map of dynamic values.
Pair represents a single key-value pair in a Mapping.
Time represents a time-like primitive value.
No description provided by the author

# Type aliases

No description provided by the author
MapFunc is a function that maps a value to another value.
Path represents a path to a value in a [Value] configuration tree.
Pattern represents a matcher for paths in a [Value] configuration tree.
WalkValueFunc is the type of the function called by Walk to traverse the configuration tree.