kubernetes

package
v0.0.0-...-6527aff Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OpenEBSNamespace Default OpenEBS namespace
	OpenEBSNamespace string = "openebs"

	// MayaApiServerLabelSelector is mapi
	MayaAPIServerLabelSelector string = "name=maya-apiserver"

	OpenEBSVersionLabelKey string = "openebs.io/version"
)

Constants are defined here

Variables

ClientSet will be used globally across different packages

View Source
var RestConfig *rest.Config

RestConfig will be used globally across different package

Functions

func NewClientSet

func NewClientSet(config *rest.Config) (kubernetes.Interface, error)

NewClientSet will create a new k8s ClientSet

func NewRestConfig

func NewRestConfig() (*rest.Config, error)

NewRestConfig will create a new InClusterConfig

func PrintOpenEBSVersion

func PrintOpenEBSVersion()

PrintOpenEBSVersion returns pods

Types

This section is empty.

Jump to

Keyboard shortcuts

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