Documentation
¶
Overview ¶
Package states contains a stateful schema-v2 for a CLI. Bootstrapped with am-gen. Edit manually or re-gen & merge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CliStates contains all the states for the Cli machine. CliStates = ssV // CliGroups contains all the state groups for the Cli machine. CliGroups = sgV )
View Source
var CliSchema = SchemaMerge( ss.BasicSchema, ss.DisposedSchema, am.Schema{ ssV.Foo1: { Add: S{ssV.Start}, After: S{ssV.Start}, }, ssV.Bar2: { Add: S{ssV.Start}, After: S{ssV.Start}, }, })
CliSchema represents all relations and properties of CliStates.
Functions ¶
This section is empty.
Types ¶
type CliGroupsDef ¶
type CliGroupsDef struct {
}
CliGroupsDef contains all the state groups Cli state machine.
type CliStatesDef ¶
type CliStatesDef struct {
*am.StatesBase
Foo1 string
Bar2 string
// inherit from BasicStatesDef
*ss.BasicStatesDef
// inherit from DisposedStatesDef
*ss.DisposedStatesDef
}
CliStatesDef contains all the states of the Cli state machine.
Click to show internal directories.
Click to hide internal directories.