Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagExported = 1 << iota FlagTerminator FlagNone Flag = 0 )
Variables ¶
View Source
var SSMStates = make([]Connectable, 0)
SSMStates is a static slice containing the states in the SSM package. They get parsed dynamically at module.init() time
Functions ¶
func FindValidTargets ¶
Types ¶
type Connectable ¶
type Connectable interface { Children() []Connectable Match(group, name string) bool Equals(n Connectable) bool Append(n ...Connectable) }
Connectable is a dot.Node or a *internal.StateNode
func LoadStates ¶
func LoadStates(targets ...string) ([]Connectable, error)
type StateNode ¶
type StateNode struct { Name string Group string Flags Flag InStates []Connectable NextStates []Connectable }
func (*StateNode) Append ¶
func (s *StateNode) Append(n ...Connectable)
func (*StateNode) Children ¶
func (s *StateNode) Children() []Connectable
func (*StateNode) Equals ¶
func (s *StateNode) Equals(ss Connectable) bool
Click to show internal directories.
Click to hide internal directories.