Documentation
¶
Overview ¶
Package states contains a stateful schema-v2 for MachTemplate. Bootstrapped with am-gen. Edit manually or re-gen & merge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MachTemplateStates contains all the states for the MachTemplate machine. MachTemplateStates = ssM // MachTemplateGroups contains all the state groups for the MachTemplate machine. MachTemplateGroups = sgM )
View Source
var Exception = am.StateException
Exception is a type alias for the Exception state.
View Source
var MachTemplateSchema = ssam.BasicSchema.Merge( ssam.ConnectedSchema, ssam.DisposedSchema, ssrpc.StateSourceSchema, am.Schema{ ssM.ErrExample: { Require: S{ssM.Exception}, }, ssM.Foo: { Require: S{ssM.Bar}, }, ssM.Bar: {}, ssM.Baz: { Multi: true, }, ssM.BazDone: { Multi: true, }, ssM.Channel: {}, })
MachTemplateSchema represents all relations and properties of MachTemplateStates.
View Source
var Ready = am.StateReady
Ready is a type alias for the Ready state.
View Source
var Start = am.StateStart
Start is a type alias for the Start state.
Functions ¶
This section is empty.
Types ¶
type MachTemplateGroupsDef ¶
type MachTemplateGroupsDef struct {
*ssam.ConnectedGroupsDef
Group1 S
Group2 S
}
MachTemplateGroupsDef contains all the state groups MachTemplate state machine.
type MachTemplateStatesDef ¶
type MachTemplateStatesDef struct {
*am.StatesBase
ErrExample string
Foo string
Bar string
Baz string
BazDone string
Channel string
// inherit from BasicStatesDef
*ssam.BasicStatesDef
// inherit from ConnectedStatesDef
*ssam.ConnectedStatesDef
// inherit from DisposedStatesDef
*ssam.DisposedStatesDef
// inherit from StateSourceStatesDef
*ssrpc.StateSourceStatesDef
}
MachTemplateStatesDef contains all the states of the MachTemplate state machine.
Click to show internal directories.
Click to hide internal directories.