Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidArgsFunction ¶
func ValidArgsFunction( cliOpts *config.CliOpts, cmdCtx *cmdcontext.CmdCtx, cmd *cobra.Command, toComplete string, appPicker InstPicker, instPicker InstPicker, ) (args []string, directive cobra.ShellCompDirective)
ValidArgsFunction is the function used for dynamic auto-completion. In case of app's completion, it uses appPicker, instPicker otherwise.
Types ¶
type InstPicker ¶
type InstPicker func([]running.InstanceCtx) []string
InstPicker is function that takes a list of instances and returns some instance names.
Click to show internal directories.
Click to hide internal directories.