k8s

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Failed

func Failed(w *restful.Response, format string, a ...any)

func NewK8sBadRequestError

func NewK8sBadRequestError(reason metav1.StatusReason, code int32, format string, a ...any) *metav1.Status

Types

type K8sProxyApiHandler

type K8sProxyApiHandler struct {
	ioc.ObjectImpl

	ProxyMethod []string `json:"proxy_method" yaml:"proxy_method" toml:"proxy_method" env:"PROXY_METHOD"`
	// k8s_id: k8s_address, 比如 "dev": "https://dev-k8s.example.com",
	ProxyConfig map[string]string `json:"proxy_config" yaml:"proxy_config" toml:"proxy_config" env:"PROXY_CONFIG"`
	// contains filtered or unexported fields
}

func (*K8sProxyApiHandler) Init

func (h *K8sProxyApiHandler) Init() error

func (*K8sProxyApiHandler) Meta

func (i *K8sProxyApiHandler) Meta() ioc.ObjectMeta

func (*K8sProxyApiHandler) Name

func (h *K8sProxyApiHandler) Name() string

func (*K8sProxyApiHandler) Proxy

Jump to

Keyboard shortcuts

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