Documentation
¶
Index ¶
- func EnsureContextExists(newContext string)
- func EnsureNamespaceExists(namespace string, namespaceList *v1.NamespaceList)
- func EnsureVersionOfKubernetesCliSupportsExternalAuth()
- func KubernetesApiConfig() *api.Config
- func KubernetesClientset() *kubernetes.Clientset
- func KubernetesConfig() *rest.Config
- func KubernetesInit()
- func PrintExistingContexts()
- func PrintExistingNamespaces(namespaceList *v1.NamespaceList)
- type ClientVersionResponse
- type VersionResponse
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 KubernetesClientset ¶
func KubernetesClientset() *kubernetes.Clientset
func KubernetesConfig ¶
func KubernetesInit ¶
func KubernetesInit()
func PrintExistingContexts ¶
func PrintExistingContexts()
func PrintExistingNamespaces ¶
func PrintExistingNamespaces(namespaceList *v1.NamespaceList)
Types ¶
type ClientVersionResponse ¶
type VersionResponse ¶
type VersionResponse struct {
ClientVersion ClientVersionResponse `json:"clientVersion"`
}
Click to show internal directories.
Click to hide internal directories.