kube

package
v0.0.0-...-c23e532 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Config() *rest.Config
	Client() *kubernetes.Clientset
}

Client is the kubernetes client that holds the rest config and clientset

func GetDefaultClient

func GetDefaultClient() (Client, error)

GetDefaultClient retrieves the default config client

func GetInClusterClient

func GetInClusterClient() (Client, error)

GetInClusterClient retrieves a new kubernetes clientset

Jump to

Keyboard shortcuts

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