cluster_status

package
v0.26.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterClusterRoutes added in v0.0.145

func RegisterClusterRoutes(r chi.Router)

Types

type ClusterController added in v0.0.145

type ClusterController struct{}

func (*ClusterController) ClusterResourceCount added in v0.0.145

func (cc *ClusterController) ClusterResourceCount(c *response.Context)

@Summary 获取集群资源数量统计 @Security BearerAuth @Param cluster path string true "集群名称" @Param cache path string true "缓存时间(秒)" @Success 200 {object} string @Router /k8s/cluster/{cluster}/status/resource_count/cache_seconds/{cache} [get]

Jump to

Keyboard shortcuts

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