Documentation ¶
Index ¶
- Variables
- func ExpandEnvironmentVariables(s string, env map[string]string) string
- type ListValue
- type MapValue
- type Node
- func (node *Node) DeepFindChild(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
- type ScalarValue
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNodeConversionFailed = errors.New("node conversion failed")
Functions ¶
Types ¶
type Node ¶
func NewFromSlice ¶
func (*Node) DeepFindChild ¶
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 ¶
type ScalarValue ¶
type ScalarValue struct {
Value string
}
Click to show internal directories.
Click to hide internal directories.