workloadStatus

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 (*ComponentWorkloadStatus) InitComponent

func (s *ComponentWorkloadStatus) InitComponent(ctx context.Context)

func (*ComponentWorkloadStatus) Render

func (*ComponentWorkloadStatus) SetComponentValue

func (s *ComponentWorkloadStatus) SetComponentValue() error

func (*ComponentWorkloadStatus) Transfer

func (s *ComponentWorkloadStatus) Transfer(component *cptype.Component)

type Data

type Data struct {
	Labels Labels `json:"labels,omitempty"`
}

type Labels

type Labels struct {
	Label string `json:"label,omitempty"`
	Color string `json:"color,omitempty"`
}

type Props

type Props struct {
	IsLoadMore bool   `json:"isLoadMore,omitempty"`
	Size       string `json:"size,omitempty"`
}

type State

type State struct {
	ClusterName string `json:"clusterName,omitempty"`
	WorkloadID  string `json:"workloadId,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL