Documentation ¶
Index ¶
- func RenderCreator() protocol.CompRender
- type ComponentAction
- func (i *ComponentAction) HandlerChangeValue(meta map[string]interface{}) error
- func (i *ComponentAction) HandlerDefaultValue(meta map[string]interface{}, inParams map[string]interface{}) error
- func (ca *ComponentAction) Render(ctx context.Context, c *apistructs.Component, ...) error
- func (a *ComponentAction) SetBundle(b protocol.ContextBundle) error
- type Data
- type StepValue
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ComponentAction ¶
type ComponentAction struct { CtxBdl protocol.ContextBundle Data Data `json:"data"` State state `json:"state"` Props props `json:"props"` Operations map[string]operations `json:"operations"` Type string `json:"type"` }
func (*ComponentAction) HandlerChangeValue ¶
func (i *ComponentAction) HandlerChangeValue(meta map[string]interface{}) error
func (*ComponentAction) HandlerDefaultValue ¶
func (i *ComponentAction) HandlerDefaultValue(meta map[string]interface{}, inParams map[string]interface{}) error
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*ComponentAction) SetBundle ¶
func (a *ComponentAction) SetBundle(b protocol.ContextBundle) error
Click to show internal directories.
Click to hide internal directories.