Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Key string `json:"key"` Target string `json:"target"` State CommandState `json:"state"` JumpOut bool `json:"jumpOut"` }
type CommandState ¶
type ComponentEventOverviewInfo ¶
type ComponentEventOverviewInfo struct { Type string `json:"type,omitempty"` Props Props `json:"props"` Data map[string]Data `json:"data,omitempty"` State State `json:"state,omitempty"` Metric metricpb.MetricServiceServer `autowired:"erda.core.monitor.metric.MetricService"` // contains filtered or unexported fields }
func (*ComponentEventOverviewInfo) GenComponentState ¶
func (cp *ComponentEventOverviewInfo) GenComponentState(c *cptype.Component) error
func (*ComponentEventOverviewInfo) Render ¶
func (cp *ComponentEventOverviewInfo) Render(ctx context.Context, c *cptype.Component, s cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*ComponentEventOverviewInfo) Transfer ¶
func (cp *ComponentEventOverviewInfo) Transfer(component *cptype.Component)
type Data ¶
type Data struct { RelatedRuleName string `json:"relatedRuleName"` RelatedAlertName string `json:"relatedAlertName"` AlertLevel string `json:"alertLevel"` AlertSource string `json:"alertSource"` AlertSubject []Tag `json:"alertSubject"` AlertCount string `json:"alertCount"` FirstTriggerTime string `json:"firstTriggerTime"` LastTriggerTime string `json:"lastTriggerTime"` }
Click to show internal directories.
Click to hide internal directories.