CompleteClusters will complete the cluster name when necessary getting the list from the current namespace
(ctx context.Context, args []string, toComplete string)
| 207 | |
| 208 | // CompleteClusters will complete the cluster name when necessary getting the list from the current namespace |
| 209 | func CompleteClusters(ctx context.Context, args []string, toComplete string) []string { |
| 210 | return completeClusters(ctx, Client, Namespace, args, toComplete) |
| 211 | } |
| 212 | |
| 213 | // RequiresArguments will show the help message in case no argument has been provided |
| 214 | func RequiresArguments(nArgs int) cobra.PositionalArgs { |
no test coverage detected