package
0.0.0-20201110153056-02c76fbfe84d
Repository: https://github.com/asteris-llc/converge.git
Documentation: pkg.go.dev

# Functions

BadPredicate returns a new error for an invalid predicate.
Cases returns a slice of cases.
InnerText returns the text inside of a *parse.Node whose ObjectItem has a value of type *ast.ObjectType.
IsSwitchNode returns true if the parse node represents a switch statement.
NewSwitch constructs a *Switch from a switch node.
NewTypeError returns a new TypeError with the appropriate expected and actual types.
ParseCase will parse a `case` or `default` node.
ParseSwitchConditional generates a case statement from an ast node at the switch statement level.

# Structs

Case represents a case structure from a switch element.
CasePreparer contains generated case macro information.
CaseTask represents a task and is used to determine whether a conditional task should evaluate or not.
NopTask does nothing, verbosely.
Switch represents a switch element.
SwitchPreparer represents a switch resource; the task it generates simply wraps the values and will not do anything during check or apply.
SwitchTask represents a resource.Task for a switch node.