(cmd *cobra.Command, _ []string, _ string)
| 68 | } |
| 69 | |
| 70 | func killShellComplete(cmd *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective) { |
| 71 | // show non-stopped container names |
| 72 | statusFilterFn := func(st containerd.ProcessStatus) bool { |
| 73 | return st != containerd.Stopped && st != containerd.Created && st != containerd.Unknown |
| 74 | } |
| 75 | return completion.ContainerNames(cmd, statusFilterFn) |
| 76 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…