Documentation ¶
Index ¶
- type ComponentRestartButton
- func (b *ComponentRestartButton) GenComponentState(component *cptype.Component) error
- func (b *ComponentRestartButton) Init(ctx servicehub.Context) error
- func (b *ComponentRestartButton) InitComponent(ctx context.Context)
- func (b *ComponentRestartButton) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (b *ComponentRestartButton) RestartWorkload() error
- func (b *ComponentRestartButton) SetComponentValue()
- func (b *ComponentRestartButton) Transfer(component *cptype.Component)
- type Operation
- type Props
- type State
- type TipProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentRestartButton ¶
type ComponentRestartButton struct { base.DefaultProvider Type string `json:"type"` State State `json:"state"` Props Props `json:"props"` Operations map[string]interface{} `json:"operations,omitempty"` // contains filtered or unexported fields }
func (*ComponentRestartButton) GenComponentState ¶
func (b *ComponentRestartButton) GenComponentState(component *cptype.Component) error
func (*ComponentRestartButton) Init ¶
func (b *ComponentRestartButton) Init(ctx servicehub.Context) error
func (*ComponentRestartButton) InitComponent ¶
func (b *ComponentRestartButton) InitComponent(ctx context.Context)
func (*ComponentRestartButton) Render ¶
func (b *ComponentRestartButton) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*ComponentRestartButton) RestartWorkload ¶
func (b *ComponentRestartButton) RestartWorkload() error
func (*ComponentRestartButton) SetComponentValue ¶
func (b *ComponentRestartButton) SetComponentValue()
func (*ComponentRestartButton) Transfer ¶
func (b *ComponentRestartButton) Transfer(component *cptype.Component)
Click to show internal directories.
Click to hide internal directories.