kube

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: EPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectOpenShift

func DetectOpenShift(config *rest.Config) bool

DetectOpenShift determines if we're running on an OpenShift cluster From https://github.com/eclipse/che-operator/blob/2f639261d8b5416b2934591e12925ee0935814dd/pkg/util/util.go#L63

func GetCurrentNamespace

func GetCurrentNamespace() string

GetCurrentNamespace gets the current namespace in the Kubernetes context

func GetKubeClientConfig

func GetKubeClientConfig() clientcmd.ClientConfig

GetKubeClientConfig retrieves the Kubernetes client config from the cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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