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 { State State `json:"state"` Props map[string]interface{} `json:"props"` // contains filtered or unexported fields }
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) RenderState ¶
func (ca *ComponentAction) RenderState(c *apistructs.Component) error
func (*ComponentAction) SetCtxBundle ¶
func (ca *ComponentAction) SetCtxBundle(b protocol.ContextBundle) error
type State ¶
type State struct { ActiveKey apistructs.TestPlanActiveKey `json:"activeKey"` TestPlanId uint64 `json:"testPlanId"` SpaceId uint64 `json:"spaceId"` }
Click to show internal directories.
Click to hide internal directories.