Documentation ¶
Index ¶
- func AddLabel(c *gin.Context)
- func AddLabels(c *gin.Context)
- func Delete(c *gin.Context)
- func DeleteLabel(c *gin.Context)
- func DeleteLabels(c *gin.Context)
- func DeleteTaint(c *gin.Context)
- func Get(c *gin.Context)
- func GetLabels(c *gin.Context)
- func List(c *gin.Context)
- func NodeStatistics(c *gin.Context)
- func SetTaint(c *gin.Context)
- func Update(c *gin.Context)
- type Label
- type LabelSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLabel ¶
@Title 添加标签 node label @Description add a label for a node @router /:name/clusters/:cluster/label [post]
func AddLabels ¶
@Title node添加多个标签 @Description Add labels in bulk for node @router /:name/clusters/:cluster/labels [post]
func DeleteLabels ¶
@Title 删除多个标签 @Description Delete node labels in batches @router /:name/clusters/:cluster/labels [delete]
func DeleteTaint ¶
@Title 删除 taint @Description delete a taint from node @router /:name/clusters/:cluster/taint [delete]
func GetLabels ¶
@Title 获取标签 node labels @Description get labels of a node @router /:name/clusters/:cluster/labels [get]
Types ¶
Click to show internal directories.
Click to hide internal directories.