param

package
v0.0.155 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterParamRoutes added in v0.0.145

func RegisterParamRoutes(params *gin.RouterGroup)

Types

type Controller added in v0.0.145

type Controller struct {
}

func (*Controller) ClusterOptionList added in v0.0.145

func (pc *Controller) ClusterOptionList(c *gin.Context)

@Summary 集群选项列表 @Description 获取当前登录用户可选的集群列表(下拉选项) @Security BearerAuth @Success 200 {object} string @Router /params/cluster/option_list [get]

func (*Controller) ClusterTableList added in v0.0.145

func (pc *Controller) ClusterTableList(c *gin.Context)

@Summary 集群表格列表 @Description 获取当前登录用户可见的集群详细信息(表格) @Security BearerAuth @Success 200 {object} string @Router /params/cluster/all [get]

func (*Controller) Conditions added in v0.0.145

func (pc *Controller) Conditions(c *gin.Context)

@Summary 翻转指标列表 @Description 获取所有启用的翻转显示指标名称 @Security BearerAuth @Success 200 {object} string @Router /params/condition/reverse/list [get]

func (*Controller) Config added in v0.0.145

func (pc *Controller) Config(c *gin.Context)

Config 获取某一个参数配置 @Summary 获取配置项 @Description 获取指定key的系统配置项 @Security BearerAuth @Param key path string true "配置项key" @Success 200 {object} string @Router /params/config/{key} [get]

func (*Controller) HelmRepoOptionList added in v0.0.145

func (pc *Controller) HelmRepoOptionList(c *gin.Context)

@Summary Helm仓库选项列表 @Description 获取所有Helm仓库名称,用于下拉选项 @Security BearerAuth @Success 200 {object} string @Router /params/helm/repo/option_list [get]

func (*Controller) UserRole added in v0.0.145

func (pc *Controller) UserRole(c *gin.Context)

UserRole 获取当前用户的Role信息 @Summary 获取用户角色信息 @Description 获取当前登录用户的角色及默认集群 @Security BearerAuth @Success 200 {object} string @Router /params/user/role [get]

func (*Controller) Version added in v0.0.145

func (pc *Controller) Version(c *gin.Context)

Version 获取版本号 @Summary 获取版本信息 @Description 获取当前软件的版本及构建信息 @Security BearerAuth @Success 200 {object} string @Router /params/version [get]

Jump to

Keyboard shortcuts

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