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 ¶
type PropColumn struct {
Label string `json:"label"`
ValueKey string `json:"valueKey"`
RenderType string `json:"renderType"`
Operations map[apistructs.OperationKey]apistructs.Operation `json:"operations"`
}
type State ¶
type State struct {
PipelineID uint64 `json:"pipelineId"`
PipelineDetail *apistructs.PipelineDetailDTO `json:"pipelineDetail"`
EnvData apistructs.AutoTestAPIConfig `json:"envData"`
}
Click to show internal directories.
Click to hide internal directories.