Documentation ¶
Index ¶
- type Command
- type CommandState
- type ComponentOperationButton
- func (b *ComponentOperationButton) DeletePod() error
- func (b *ComponentOperationButton) GenComponentState(component *cptype.Component) error
- func (b *ComponentOperationButton) Init(ctx servicehub.Context) error
- func (b *ComponentOperationButton) InitComponent(ctx context.Context)
- func (b *ComponentOperationButton) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (b *ComponentOperationButton) SetComponentValue()
- func (b *ComponentOperationButton) Transfer(c *cptype.Component)
- type Menu
- type Operation
- type Props
- type State
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,omitempty"` Target string `json:"target,omitempty"` State CommandState `json:"state,omitempty"` }
type CommandState ¶
type ComponentOperationButton ¶
type ComponentOperationButton struct { Type string `json:"type,omitempty"` Props Props `json:"props"` State State `json:"state"` // contains filtered or unexported fields }
func (*ComponentOperationButton) DeletePod ¶
func (b *ComponentOperationButton) DeletePod() error
func (*ComponentOperationButton) GenComponentState ¶
func (b *ComponentOperationButton) GenComponentState(component *cptype.Component) error
func (*ComponentOperationButton) Init ¶
func (b *ComponentOperationButton) Init(ctx servicehub.Context) error
func (*ComponentOperationButton) InitComponent ¶
func (b *ComponentOperationButton) InitComponent(ctx context.Context)
func (*ComponentOperationButton) Render ¶
func (b *ComponentOperationButton) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*ComponentOperationButton) SetComponentValue ¶
func (b *ComponentOperationButton) SetComponentValue()
func (*ComponentOperationButton) Transfer ¶
func (b *ComponentOperationButton) Transfer(c *cptype.Component)
Click to show internal directories.
Click to hide internal directories.