rs

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes added in v0.0.145

func RegisterRoutes(r chi.Router)

Types

type Controller added in v0.0.145

type Controller struct{}

func (*Controller) BatchRestart added in v0.0.145

func (cc *Controller) BatchRestart(c *response.Context)

BatchRestart 批量重启ReplicaSet @Summary 批量重启ReplicaSet @Security BearerAuth @Param cluster path string true "集群名称" @Param body body object true "包含name_list和ns_list的请求体" @Success 200 {object} string @Router /k8s/cluster/{cluster}/replicaset/batch/restart [post]

func (*Controller) BatchRestore added in v0.0.145

func (cc *Controller) BatchRestore(c *response.Context)

BatchRestore 批量恢复ReplicaSet @Summary 批量恢复ReplicaSet @Security BearerAuth @Param cluster path string true "集群名称" @Param body body object true "包含name_list和ns_list的请求体" @Success 200 {object} string @Router /k8s/cluster/{cluster}/replicaset/batch/restore [post]

func (*Controller) BatchStop added in v0.0.145

func (cc *Controller) BatchStop(c *response.Context)

BatchStop 批量停止ReplicaSet @Summary 批量停止ReplicaSet @Security BearerAuth @Param cluster path string true "集群名称" @Param body body object true "包含name_list和ns_list的请求体" @Success 200 {object} string @Router /k8s/cluster/{cluster}/replicaset/batch/stop [post]

func (*Controller) Event added in v0.0.145

func (cc *Controller) Event(c *response.Context)

Event 获取ReplicaSet相关事件列表 @Summary 获取ReplicaSet相关事件列表 @Security BearerAuth @Param cluster path string true "集群名称" @Param ns path string true "命名空间" @Param name path string true "ReplicaSet名称" @Success 200 {object} string @Router /k8s/cluster/{cluster}/replicaset/ns/{ns}/name/{name}/events/all [get]

func (*Controller) HPA added in v0.0.145

func (cc *Controller) HPA(c *response.Context)

HPA 获取ReplicaSet相关HPA列表 @Summary 获取ReplicaSet相关HPA列表 @Security BearerAuth @Param cluster path string true "集群名称" @Param ns path string true "命名空间" @Param name path string true "ReplicaSet名称" @Success 200 {object} string @Router /k8s/cluster/{cluster}/replicaset/ns/{ns}/name/{name}/hpa [get]

func (*Controller) Restart added in v0.0.145

func (cc *Controller) Restart(c *response.Context)

Restart 重启指定的ReplicaSet @Summary 重启指定的ReplicaSet @Security BearerAuth @Param cluster path string true "集群名称" @Param ns path string true "命名空间" @Param name path string true "ReplicaSet名称" @Success 200 {object} string @Router /k8s/cluster/{cluster}/replicaset/ns/{ns}/name/{name}/restart [post]

Jump to

Keyboard shortcuts

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