Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentAction ¶
type ComponentAction struct { base.DefaultProvider Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Props map[string]interface{} `json:"props,omitempty"` State State `json:"state,omitempty"` Operations map[string]interface{} `json:"operations,omitempty"` Data map[string]interface{} // contains filtered or unexported fields }
func (*ComponentAction) GenComponentState ¶
func (i *ComponentAction) GenComponentState(c *cptype.Component) error
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
Click to show internal directories.
Click to hide internal directories.