kubernetes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureContextExists

func EnsureContextExists(newContext string)

func EnsureNamespaceExists

func EnsureNamespaceExists(namespace string, namespaceList *v1.NamespaceList)

func EnsureVersionOfKubernetesCliSupportsExternalAuth

func EnsureVersionOfKubernetesCliSupportsExternalAuth()

func KubernetesApiConfig

func KubernetesApiConfig() *api.Config

func KubernetesClientset

func KubernetesClientset() *kubernetes.Clientset

func KubernetesConfig

func KubernetesConfig() *rest.Config

func KubernetesInit

func KubernetesInit()

func PrintExistingContexts

func PrintExistingContexts()

func PrintExistingNamespaces

func PrintExistingNamespaces(namespaceList *v1.NamespaceList)

Types

type ClientVersionResponse

type ClientVersionResponse struct {
	Major string `json:"major"`
	Minor string `json:"minor"`
}

type VersionResponse

type VersionResponse struct {
	ClientVersion ClientVersionResponse `json:"clientVersion"`
}

Jump to

Keyboard shortcuts

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