Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseCompletion ¶
func BaseCompletion(target string, args []string) ([]string, cobra.ShellCompDirective)
BaseCompletion return a completion for a kubernetes object using Kubectl.
func GetObjectsWithKubectl ¶
GetObjectsWithKubectl return completions with kubectl, we are doing this with kubectl since we have caching and without it completion is way too slow.
func ParentCompletion ¶
func ParentCompletion(cmd *cobra.Command, args []string, _ string) ([]string, cobra.ShellCompDirective)
ParentCompletion do completion of command to the Parent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.