Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPageSize = 10 DefaultPageNo = 1 )
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ResultPreviewData ¶
type ResultPreviewData struct { CtxBdl protocol.ContextBundle Type string `json:"type"` Props map[string]interface{} `json:"props"` Operations map[string]interface{} `json:"operations"` State State `json:"state"` Data map[string]interface{} `json:"data"` }
func (*ResultPreviewData) Export ¶
func (a *ResultPreviewData) Export(c *apistructs.Component, gs *apistructs.GlobalStateData) error
func (*ResultPreviewData) Import ¶
func (a *ResultPreviewData) Import(c *apistructs.Component) error
func (*ResultPreviewData) Render ¶
func (a *ResultPreviewData) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
Click to show internal directories.
Click to hide internal directories.