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"` JumpOut bool CommandState CommandState `json:"state"` }
type CommandState ¶
type Data ¶
type Data struct { Survive string `json:"survive"` NodeIP string `json:"nodeIP"` Version string `json:"version"` Os string `json:"os"` ContainerRuntimeVersion string `json:"containerRuntimeVersion"` PodNum string `json:"podNum"` Tags []Field `json:"tag"` Annotation []Field `json:"annotation"` Taints []Field `json:"taint"` }
type InfoDetail ¶
type InfoDetail struct { SDK *cptype.SDK Ctx context.Context Type string `json:"type"` Props Props `json:"props"` Data map[string]Data `json:"data"` State State `json:"state"` }
func (*InfoDetail) GetLabelGroupAndDisplayName ¶
func (infoDetail *InfoDetail) GetLabelGroupAndDisplayName(label string) (string, string)
func (*InfoDetail) Init ¶
func (infoDetail *InfoDetail) Init(ctx servicehub.Context) error
func (*InfoDetail) Render ¶
func (infoDetail *InfoDetail) Render(ctx context.Context, c *cptype.Component, s cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
type Operation ¶
type Operation struct { Key string `json:"key"` Reload bool `json:"reload"` FillMeta string `json:"fillMeta,omitempty"` Target string `json:"target,omitempty"` Meta map[string]interface{} `json:"meta,omitempty"` ClickableKeys interface{} `json:"clickableKeys,omitempty"` Text string `json:"text"` Command Command `json:"command,omitempty"` }
Click to show internal directories.
Click to hide internal directories.