contexts

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Name       string `json:"name"`
	User       string `json:"user"`
	Cluster    string `json:"cluster"`
	ClusterUID string `json:"clusterUID"`
	Namespace  string `json:"namespace"`
	Current    bool   `json:"current"`
}

type Handler

type Handler struct {
	api.Handler
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(clientPool *kubeclient.ClientPool, logger *logrus.Entry) *Handler

func (*Handler) List

func (h *Handler) List(c *gin.Context)

kube/<ver>/contexts

Jump to

Keyboard shortcuts

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