Documentation ¶
Index ¶
- type Column
- type Command
- type CommandState
- type ComponentWorkloadTable
- func (w *ComponentWorkloadTable) DecodeURLQuery() error
- func (w *ComponentWorkloadTable) EncodeURLQuery() error
- func (w *ComponentWorkloadTable) GenComponentState(c *cptype.Component) error
- func (w *ComponentWorkloadTable) Init(ctx servicehub.Context) error
- func (w *ComponentWorkloadTable) InitComponent(ctx context.Context)
- func (w *ComponentWorkloadTable) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (w *ComponentWorkloadTable) RenderTable() error
- func (w *ComponentWorkloadTable) SetComponentValue(ctx context.Context)
- func (w *ComponentWorkloadTable) Transfer(component *cptype.Component)
- type Count
- type CountValues
- type Data
- type Item
- type Link
- type LinkOperation
- type Operation
- type Props
- type Sorter
- type State
- type Status
- type StyleConfig
- type Values
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"` JumpOut bool `json:"jumpOut"` }
type CommandState ¶
type ComponentWorkloadTable ¶
type ComponentWorkloadTable struct { base.DefaultProvider Type string `json:"type,omitempty"` State State `json:"state,omitempty"` Data Data `json:"data,omitempty"` Props Props `json:"props,omitempty"` Operations map[string]interface{} `json:"operations,omitempty"` // contains filtered or unexported fields }
func (*ComponentWorkloadTable) DecodeURLQuery ¶
func (w *ComponentWorkloadTable) DecodeURLQuery() error
func (*ComponentWorkloadTable) EncodeURLQuery ¶
func (w *ComponentWorkloadTable) EncodeURLQuery() error
func (*ComponentWorkloadTable) GenComponentState ¶
func (w *ComponentWorkloadTable) GenComponentState(c *cptype.Component) error
func (*ComponentWorkloadTable) Init ¶
func (w *ComponentWorkloadTable) Init(ctx servicehub.Context) error
func (*ComponentWorkloadTable) InitComponent ¶
func (w *ComponentWorkloadTable) InitComponent(ctx context.Context)
func (*ComponentWorkloadTable) Render ¶
func (w *ComponentWorkloadTable) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, _ *cptype.GlobalStateData) error
func (*ComponentWorkloadTable) RenderTable ¶
func (w *ComponentWorkloadTable) RenderTable() error
func (*ComponentWorkloadTable) SetComponentValue ¶
func (w *ComponentWorkloadTable) SetComponentValue(ctx context.Context)
func (*ComponentWorkloadTable) Transfer ¶
func (w *ComponentWorkloadTable) Transfer(component *cptype.Component)
type CountValues ¶
type Item ¶
type Item struct { ID string `json:"id,omitempty"` Status Status `json:"status,omitempty"` Name Link `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Kind string `json:"kind,omitempty"` Age string `json:"age,omitempty"` Ready string `json:"ready,omitempty"` UpToDate string `json:"upToDate,omitempty"` Available string `json:"available,omitempty"` Desired string `json:"desired,omitempty"` Current string `json:"current,omitempty"` Completions string `json:"completions,omitempty"` Duration string `json:"duration,omitempty"` Schedule string `json:"schedule,omitempty"` LastSchedule string `json:"lastSchedule,omitempty"` }
type LinkOperation ¶
type State ¶
type State struct { ClusterName string `json:"clusterName,omitempty"` CountValues CountValues `json:"countValues,omitempty"` PageNo uint64 `json:"pageNo"` PageSize uint64 `json:"pageSize"` Sorter Sorter `json:"sorterData,omitempty"` Total uint64 `json:"total"` Values Values `json:"values,omitempty"` WorkloadTableURLQuery string `json:"workloadTable__urlQuery,omitempty"` }
type Status ¶
type Status struct { RenderType string `json:"renderType,omitempty"` Value string `json:"value,omitempty"` StyleConfig StyleConfig `json:"styleConfig,omitempty"` }
type StyleConfig ¶
type StyleConfig struct {
Color string `json:"color,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.