workloadStatus

package
v1.3.0 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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