kube

package
v1.0.0-beta.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultNamespace = "addon-operator"
)

Variables

View Source
var (
	Kubernetes             kubernetes.Interface
	AddonOperatorNamespace string
)

Functions

func GetCurrentPod

func GetCurrentPod() (pod *v1.Pod, err error)

func GetCurrentPodSpec

func GetCurrentPodSpec() (podSpec v1.PodSpec, err error)

func InitKube

func InitKube() error

InitKube initialize a Kubernetes client config. This method calls shell-operator kube client method that can work in-cluster, out-of-cluster or in-cluster with out-of-cluster kube config

Types

This section is empty.

Jump to

Keyboard shortcuts

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