(cmd *cobra.Command, args []string, toComplete string)
| 103 | } |
| 104 | |
| 105 | func startShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { |
| 106 | // show non-running container names |
| 107 | statusFilterFn := func(st containerd.ProcessStatus) bool { |
| 108 | return st != containerd.Running && st != containerd.Unknown |
| 109 | } |
| 110 | return completion.ContainerNames(cmd, statusFilterFn) |
| 111 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…