(cmd *cobra.Command, args []string, toComplete string)
| 68 | } |
| 69 | |
| 70 | func pauseShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { |
| 71 | // show running container names |
| 72 | statusFilterFn := func(st containerd.ProcessStatus) bool { |
| 73 | return st == containerd.Running |
| 74 | } |
| 75 | return completion.ContainerNames(cmd, statusFilterFn) |
| 76 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…