Documentation ¶
Index ¶
- type ComponentWorkloadStatus
- func (s *ComponentWorkloadStatus) GenComponentState(c *cptype.Component) error
- func (s *ComponentWorkloadStatus) Init(ctx servicehub.Context) error
- func (s *ComponentWorkloadStatus) InitComponent(ctx context.Context)
- func (s *ComponentWorkloadStatus) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (s *ComponentWorkloadStatus) SetComponentValue() error
- func (s *ComponentWorkloadStatus) Transfer(component *cptype.Component)
- type Data
- type Labels
- type Props
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentWorkloadStatus ¶
type ComponentWorkloadStatus struct { base.DefaultProvider Type string `json:"type,omitempty"` Data Data `json:"data,omitempty"` Props Props `json:"props,omitempty"` State State `json:"state,omitempty"` // contains filtered or unexported fields }
func (*ComponentWorkloadStatus) GenComponentState ¶
func (s *ComponentWorkloadStatus) GenComponentState(c *cptype.Component) error
func (*ComponentWorkloadStatus) Init ¶
func (s *ComponentWorkloadStatus) Init(ctx servicehub.Context) error
func (*ComponentWorkloadStatus) InitComponent ¶
func (s *ComponentWorkloadStatus) InitComponent(ctx context.Context)
func (*ComponentWorkloadStatus) Render ¶
func (s *ComponentWorkloadStatus) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, _ *cptype.GlobalStateData) error
func (*ComponentWorkloadStatus) SetComponentValue ¶
func (s *ComponentWorkloadStatus) SetComponentValue() error
func (*ComponentWorkloadStatus) Transfer ¶
func (s *ComponentWorkloadStatus) Transfer(component *cptype.Component)
Click to show internal directories.
Click to hide internal directories.