kubernetes

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT 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

func EvalScriptParameter(parameter string) string

func KubernetesApiConfig

func KubernetesApiConfig() *clientcmdapi.Config

func KubernetesClientset

func KubernetesClientset() *kubernetes.Clientset

func KubernetesInit

func KubernetesInit()

func NamespacesToString

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

func PrintExistingContexts

func PrintExistingContexts()

func PrintExistingNamespaces

func PrintExistingNamespaces(namespaceList *clientV1.NamespaceList)

func SelectPod

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