node

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeNodeController

type KubeNodeController struct {
	base.APIController
}

func (*KubeNodeController) AddLabel added in v1.8.5

func (c *KubeNodeController) AddLabel()

@Title add label @Description add a label for a node @router /:name/clusters/:cluster/label [post]

func (*KubeNodeController) AddLabels added in v1.8.5

func (c *KubeNodeController) AddLabels()

@Title add labels @Description Add labels in bulk for node @router /:name/clusters/:cluster/labels [post]

func (*KubeNodeController) Delete

func (c *KubeNodeController) Delete()

@Title Delete @Description delete the Node @Success 200 {string} delete success! @router /:name/clusters/:cluster [delete]

func (*KubeNodeController) DeleteLabel added in v1.8.5

func (c *KubeNodeController) DeleteLabel()

@Title delete label @Description delete a label of the node @router /:name/clusters/:cluster/label [delete]

func (*KubeNodeController) DeleteLabels added in v1.8.5

func (c *KubeNodeController) DeleteLabels()

@Title delete labels @Description Delete node labels in batches @router /:name/clusters/:cluster/labels [delete]

func (*KubeNodeController) DeleteTaint added in v1.8.5

func (c *KubeNodeController) DeleteTaint()

@Title delete taint @Description delete a taint from node @router /:name/clusters/:cluster/taint [delete]

func (*KubeNodeController) Get

func (c *KubeNodeController) Get()

@Title get node @Description find node by cluster @router /:name/clusters/:cluster [get]

func (*KubeNodeController) GetLabels added in v1.8.5

func (c *KubeNodeController) GetLabels()

@Title list node labels @Description get labels of a node @router /:name/clusters/:cluster/labels [get]

func (*KubeNodeController) List

func (c *KubeNodeController) List()

@Title List node @Description list nodes @router /clusters/:cluster [get]

func (*KubeNodeController) NodeStatistics

func (c *KubeNodeController) NodeStatistics()

@Title kubernetes node statistics @Description kubernetes statistics @Param cluster query string false "the cluster " @Success 200 {object} node.NodeStatistics success @router /statistics [get]

func (*KubeNodeController) Prepare

func (c *KubeNodeController) Prepare()

func (*KubeNodeController) SetTaint added in v1.8.5

func (c *KubeNodeController) SetTaint()

@Title add taint @Description set taint for a node @router /:name/clusters/:cluster/taint [post]

func (*KubeNodeController) URLMapping

func (c *KubeNodeController) URLMapping()

func (*KubeNodeController) Update

func (c *KubeNodeController) Update()

@Title Update @Description update the Node @router /:name/clusters/:cluster [put]

type Label added in v1.8.5

type Label struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

type LabelSet added in v1.8.5

type LabelSet struct {
	Labels []Label
}

Jump to

Keyboard shortcuts

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