utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoCompleteDaemonSets added in v0.1.0

func AutoCompleteDaemonSets(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

AutoCompleteDaemonSets implements autocompletion for the daemonset commands

func AutoCompleteDeployments added in v0.1.0

func AutoCompleteDeployments(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

AutoCompleteDeployments implements autocompletion for the deployment commands

func AutoCompletePodsWithDebugContainer added in v0.1.0

func AutoCompletePodsWithDebugContainer(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

AutoCompletePodsWithDebugContainer implements autocompletion for the pod commands where debug contianer is present

func GetNamespaceFromCurrentContext

func GetNamespaceFromCurrentContext() (namespace string, err error)

GetNamespaceFromCurrentContext returns the namespace from the current kubeconfig context

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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