Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ComponentAction ¶
type ComponentAction struct { Version string `json:"version,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Props map[string]interface{} `json:"props,omitempty"` State State `json:"state,omitempty"` Operations map[apistructs.OperationKey]apistructs.Operation `json:"operations,omitempty"` Data map[string]interface{} `json:"data,omitempty"` }
func (*ComponentAction) Import ¶ added in v1.3.0
func (a *ComponentAction) Import(c *apistructs.Component) error
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) (err error)
type State ¶ added in v1.3.0
type State struct {
PipelineDetail *apistructs.PipelineDetailDTO `json:"pipelineDetail"`
}
Click to show internal directories.
Click to hide internal directories.