k8s

package
v0.0.0-...-712da53 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	// GetNamespaceList get all namespace information
	// @Tags API.k8s
	// @Router /api/k8s/namespaces [get]
	GetNamespaceList() core.HandlerFunc
	// GetNamespaceInfo get namespace information
	// @Tags API.k8s
	// @Router /api/k8s/namespace/info [get]
	GetNamespaceInfo() core.HandlerFunc
	// GetPodList get information about all pods in the namespace
	// @Tags API.k8s
	// @Router /api/k8s/pods [get]
	GetPodList() core.HandlerFunc
	// GetPodInfo get pod information
	// @Tags API.k8s
	// @Router /api/k8s/pod/info [get]
	GetPodInfo() core.HandlerFunc
}

func New

func New(k8sRepo kubernetes.Repo) Handler

Jump to

Keyboard shortcuts

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