(dockerCLI contextStoreProvider)
| 10 | } |
| 11 | |
| 12 | func completeContextNames(dockerCLI contextStoreProvider) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) { |
| 13 | return func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) { |
| 14 | names, _ := store.Names(dockerCLI.ContextStore()) |
| 15 | return names, cobra.ShellCompDirectiveNoFileComp |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | var logLevels = []string{"debug", "info", "warn", "error", "fatal", "panic"} |
| 20 |
searching dependent graphs…