kubernetes

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: Apache-2.0 Imports: 18 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 *clientV1.NamespaceList)

func EnsureVersionOfKubernetesCliSupportsExternalAuth

func EnsureVersionOfKubernetesCliSupportsExternalAuth()

func EvalScriptParameter added in v1.6.2

func EvalScriptParameter(parameter string) string

func KubernetesApiConfig

func KubernetesApiConfig() *clientcmdapi.Config

func KubernetesClientset

func KubernetesClientset() *kubernetes.Clientset

func KubernetesInit

func KubernetesInit()

func NamespacesToString added in v1.6.2

func NamespacesToString(namespaceList *clientV1.NamespaceList) []string

func PrintExistingContexts

func PrintExistingContexts()

func PrintExistingNamespaces

func PrintExistingNamespaces(namespaceList *clientV1.NamespaceList)

func SelectPod added in v1.6.2

func SelectPod(promptLabel string) string

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