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
Click to show internal directories.
Click to hide internal directories.