Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type CommonFileInfo ¶
type CommonFileInfo 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"` }
type ComponentFileInfo ¶
type ComponentFileInfo struct { CtxBdl protocol.ContextBundle CommonFileInfo }
func (*ComponentFileInfo) Import ¶
func (a *ComponentFileInfo) Import(c *apistructs.Component) error
func (*ComponentFileInfo) Render ¶
func (i *ComponentFileInfo) Render(ctx context.Context, c *apistructs.Component, _ apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) (err error)
func (*ComponentFileInfo) RenderProtocol ¶
func (i *ComponentFileInfo) RenderProtocol(c *apistructs.Component, g *apistructs.GlobalStateData)
type PropColumn ¶
Click to show internal directories.
Click to hide internal directories.