Documentation
¶
Index ¶
Constants ¶
View Source
const ( SHELL_BASH = "bash" SHELL_ZSH = "zsh" SHELL_FISH = "fish" SHELL_POWER = "powershell" )
Variables ¶
View Source
var KubectlEnvCmd = &cobra.Command{ Use: "kubectl-env", Aliases: []string{"env", "ke"}, Args: cobra.NoArgs, Short: "Generate a script that points the KUBECONFIG env var to the kubeconfig for the current kw session", Long: `Generate a script that points the KUBECONFIG env var to the kubeconfig for the current kw session. The script can be called manually or added to your shell's profile to automatically set the KUBECONFIG env var when you start a new shell.`, }
KubectlEnvCmd represents the kubectl-env command
View Source
var PromptCmd = &cobra.Command{ Use: "prompt", Args: cobra.NoArgs, Short: "Generate a script that generates a prompt to display in the shell", Long: `Generate a script that generates a prompt to display in the shell. The script can be called manually or added to your shell's profile.`, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.