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