kube

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeClient

type KubeClient struct {
	Client *clientset.Clientset

	Config *restclient.Config
}

func NewClient

func NewClient(context string) (*KubeClient, error)

func (*KubeClient) GetClusterUID

func (kubeClient *KubeClient) GetClusterUID() (string, error)

func (*KubeClient) ListPods

func (kubeClient *KubeClient) ListPods(namespace string) ([]v1.Pod, error)

Jump to

Keyboard shortcuts

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