Documentation ¶
Index ¶
- Variables
- type ListValue
- type MapValue
- type Node
- func (node *Node) CopyWithParent(parent *Node) *Node
- func (node *Node) Deduplicate()
- func (node *Node) DeepFindCollectible(name string) *Node
- func (node *Node) FindChild(name string) *Node
- func (node *Node) GetBoolValue(env map[string]string, boolevator *boolevator.Boolevator) (bool, error)
- func (node *Node) GetEnvironment() (map[string]string, error)
- func (node *Node) GetExpandedStringValue(env map[string]string) (string, error)
- func (node *Node) GetScript() ([]string, error)
- func (node *Node) GetSliceOfExpandedStrings(env map[string]string) ([]string, error)
- func (node *Node) GetSliceOfNonEmptyStrings() ([]string, error)
- func (node *Node) GetSliceOfStrings() ([]string, error)
- func (node *Node) GetStringMapping() (map[string]string, error)
- func (node *Node) GetStringValue() (string, error)
- func (node *Node) HasChild(name string) bool
- func (node *Node) MergeFrom(other *Node)
- func (node *Node) MergeListOfMapsToSingleMap()
- func (node *Node) String() string
- type ScalarValue
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNodeConversionFailed = errors.New("node conversion failed")
Functions ¶
This section is empty.
Types ¶
type Node ¶
func NewFromSlice ¶
func (*Node) CopyWithParent ¶ added in v0.27.1
func (*Node) Deduplicate ¶ added in v0.23.1
func (node *Node) Deduplicate()
func (*Node) DeepFindCollectible ¶ added in v0.23.1
func (*Node) GetBoolValue ¶ added in v0.9.0
func (node *Node) GetBoolValue(env map[string]string, boolevator *boolevator.Boolevator) (bool, error)
func (*Node) GetEnvironment ¶ added in v0.11.0
func (*Node) GetExpandedStringValue ¶
func (*Node) GetSliceOfExpandedStrings ¶ added in v0.9.0
func (*Node) GetSliceOfNonEmptyStrings ¶
func (*Node) GetSliceOfStrings ¶ added in v0.9.0
func (*Node) GetStringValue ¶
func (*Node) MergeListOfMapsToSingleMap ¶ added in v0.28.1
func (node *Node) MergeListOfMapsToSingleMap()
type ScalarValue ¶
type ScalarValue struct {
Value string
}
Click to show internal directories.
Click to hide internal directories.