Documentation ¶
Index ¶
- func New(spec model.State, mapFunctions environment.MapFunctions, ...) (environment.State, error)
- type Action
- type Actions
- type Callback
- type Event
- type EventRef
- type Inject
- type Operation
- type ProduceEventImp
- type StateImpl
- func (t *StateImpl) FilterInput(data model.Object) (model.Object, error)
- func (t *StateImpl) FilterOutput(data model.Object) (model.Object, error)
- func (t *StateImpl) Name() string
- func (e *StateImpl) Next() (string, bool)
- func (t *StateImpl) ProduceEvents(ctx context.Context, dataIn model.Object) (err error)
- func (t *StateImpl) Transition() string
- func (p *StateImpl) Type() model.StateType
- type Switch
- type SwitchCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(spec model.State, mapFunctions environment.MapFunctions, mapEvents environment.MapEvents) (environment.State, error)
Types ¶
type Action ¶
type Action struct { Function environment.Function Event environment.Event // contains filtered or unexported fields }
type ProduceEventImp ¶
type ProduceEventImp struct {
// contains filtered or unexported fields
}
func (*ProduceEventImp) Name ¶
func (p *ProduceEventImp) Name() string
type StateImpl ¶
type StateImpl struct {
// contains filtered or unexported fields
}
func (*StateImpl) FilterInput ¶
func (*StateImpl) FilterOutput ¶
func (*StateImpl) ProduceEvents ¶
func (*StateImpl) Transition ¶
type SwitchCondition ¶
type SwitchCondition struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.