Documentation ¶
Index ¶
- type KubeNodeController
- func (c *KubeNodeController) AddLabel()
- func (c *KubeNodeController) AddLabels()
- func (c *KubeNodeController) Delete()
- func (c *KubeNodeController) DeleteLabel()
- func (c *KubeNodeController) DeleteLabels()
- func (c *KubeNodeController) DeleteTaint()
- func (c *KubeNodeController) Get()
- func (c *KubeNodeController) GetLabels()
- func (c *KubeNodeController) List()
- func (c *KubeNodeController) NodeStatistics()
- func (c *KubeNodeController) Prepare()
- func (c *KubeNodeController) SetTaint()
- func (c *KubeNodeController) URLMapping()
- func (c *KubeNodeController) Update()
- type Label
- type LabelSet
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]