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 InfoDetail ¶
type InfoDetail struct {
CtxBdl *bundle.Bundle
base.DefaultProvider
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) 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.