kubernetes

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset kubernetes.Interface

Clientset is an alias to k8s.io/client-go/kubernetes.Interface

func BuildClientsetFromConfig

func BuildClientsetFromConfig(
	kubeconfigBytes []byte,
	transportWrapper transport.WrapperFunc,
) (Clientset, error)

NewClientsetFromBytes builds a Clientset from a given Kubeconfig.

Takes an optional transport.WrapperFunc to add request/response middleware to api-server requests.

Jump to

Keyboard shortcuts

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