()
| 67 | } |
| 68 | |
| 69 | func setupRunFlags() (*pflag.FlagSet, *containerOptions) { |
| 70 | flags := pflag.NewFlagSet("run", pflag.ContinueOnError) |
| 71 | flags.SetOutput(io.Discard) |
| 72 | flags.Usage = nil |
| 73 | copts := addFlags(flags) |
| 74 | return flags, copts |
| 75 | } |
| 76 | |
| 77 | func mustParse(t *testing.T, args string) (*container.Config, *container.HostConfig, *networktypes.NetworkingConfig) { |
| 78 | t.Helper() |
no test coverage detected
searching dependent graphs…