completeCgroupns implements shell completion for the `--cgroupns` option of `run` and `create`.
()
| 146 | |
| 147 | // completeCgroupns implements shell completion for the `--cgroupns` option of `run` and `create`. |
| 148 | func completeCgroupns() cobra.CompletionFunc { |
| 149 | return completion.FromList(string(container.CgroupnsModeHost), string(container.CgroupnsModePrivate)) |
| 150 | } |
| 151 | |
| 152 | // completeDetachKeys implements shell completion for the `--detach-keys` option of `run` and `create`. |
| 153 | func completeDetachKeys(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective) { |
no outgoing calls
no test coverage detected
searching dependent graphs…