Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AppCompletion is the type for completing apps AppCompletion = "apps" // BuildCompletion is the type for completing builds BuildCompletion = "builds" // SpaceCompletion is the type for completing spaces SpaceCompletion = "spaces" // NetworkPolicyCompletion is the type for completing networkpolicies NetworkPolicyCompletion = "networkpolicies" )
Variables ¶
This section is empty.
Functions ¶
func AppCompletionFn ¶
func AppCompletionFn(p *config.KfParams) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
AppCompletionFn is a cobra.ValidArgsFunction completer for Apps.
func BuildCompletionFn ¶
func BuildCompletionFn(p *config.KfParams) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
BuildCompletionFn is a cobra.ValidArgsFunction completer for Builds.
func GenericCompletionFn ¶
func GenericCompletionFn(client dynamic.ResourceInterface) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
GenericCompletionFn is a cobra.ValidArgsFunction completer for generic cli commands. The resource type is determined by the provided ResourceInterface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.