k8sclient

package
v0.0.0-...-29d3a8e Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientConfig

func NewClientConfig(kubeConfig []byte) (*rest.Config, error)

NewClientConfig creates a Kubernetes client config from raw kube config.

func NewClientFromConfig

func NewClientFromConfig(config *rest.Config) (*kubernetes.Clientset, error)

NewClient creates a new Kubernetes client from config.

func NewClientFromKubeConfig

func NewClientFromKubeConfig(kubeConfig []byte) (*kubernetes.Clientset, error)

NewClientFromKubeConfig creates a new Kubernetes client from raw kube config.

func NewCrdClientset

func NewCrdClientset(kubeConfig []byte) (*crdclient.Clientset, error)

NewCrdClientset

func NewExtClientset

func NewExtClientset(kubeConfig []byte) (*apiextensionsclient.Clientset, error)

NewExtClientset

func NewInClusterClient

func NewInClusterClient() (*kubernetes.Clientset, error)

NewInClusterClient returns a Kubernetes client based on in-cluster configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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