Documentation ¶
Index ¶
- func RenderCreator() protocol.CompRender
- type Condition
- type MyProjectFilter
- func (this *MyProjectFilter) GenComponentState(c *apistructs.Component) error
- func (this *MyProjectFilter) Render(ctx context.Context, c *apistructs.Component, ...) error
- func (this *MyProjectFilter) RenderProtocol(c *apistructs.Component, g *apistructs.GlobalStateData) error
- func (this *MyProjectFilter) SetCtxBundle(ctx context.Context) error
- type Operation
- type Props
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type MyProjectFilter ¶
type MyProjectFilter struct { Type string `json:"type"` Props Props `json:"props"` State State `json:"state"` Operations map[string]interface{} `json:"operations"` // contains filtered or unexported fields }
func (*MyProjectFilter) GenComponentState ¶
func (this *MyProjectFilter) GenComponentState(c *apistructs.Component) error
GenComponentState 获取state
func (*MyProjectFilter) Render ¶
func (this *MyProjectFilter) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*MyProjectFilter) RenderProtocol ¶
func (this *MyProjectFilter) RenderProtocol(c *apistructs.Component, g *apistructs.GlobalStateData) error
RenderProtocol 渲染组件
func (*MyProjectFilter) SetCtxBundle ¶
func (this *MyProjectFilter) SetCtxBundle(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.