kubeconfig

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminKubeConfig

func AdminKubeConfig(k *model.Kube) (clientcmddapi.Config, error)

adminKubeConfig returns a cluster-admin kubeconfig for provided cluster.

func CoreV1Client

func CoreV1Client(k *model.Kube) (corev1client.CoreV1Interface, error)

func NewConfigFor

func NewConfigFor(k *model.Kube) (*rest.Config, error)

func RestClientForGroupVersion

func RestClientForGroupVersion(k *model.Kube, gv schema.GroupVersion) (rest.Interface, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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