client

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interfaces

type Interfaces interface {
	DynamicInterface() (dynamic.Interface, error)
	APIExtensionsClientset() (clientset.Interface, error)
	KubeClient() (kubernetes.Interface, error)
}

Interfaces interface allows access to the Kubernetes API Service methods. It is mainly used for test/injection purposes.

func NewKube

func NewKube(cfg *rest.Config) Interfaces

NewKube returns a new instance of Interfaces.

func NewKubeFromConfigFile

func NewKubeFromConfigFile(kubeconfig string) (Interfaces, error)

NewKubeFromConfigFile returns a new instance of Interfaces.

Jump to

Keyboard shortcuts

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