ingressclass

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: 6 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) OptionList added in v0.0.145

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

@Summary 获取 IngressClass 选项列表 @Security BearerAuth @Param cluster query string true "集群名称" @Success 200 {object} string @Router /k8s/cluster/{cluster}/ingress_class/option_list [get]

func (*Controller) SetDefault added in v0.0.145

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

@Summary 设置默认的 IngressClass @Security BearerAuth @Param cluster query string true "集群名称" @Param name path string true "IngressClass 名称" @Success 200 {object} string @Router /k8s/cluster/{cluster}/ingress_class/set_default/name/{name} [post]

Jump to

Keyboard shortcuts

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