NewExecOptions creates a new ExecOptions
()
| 33 | |
| 34 | // NewExecOptions creates a new ExecOptions |
| 35 | func NewExecOptions() ExecOptions { |
| 36 | return ExecOptions{ |
| 37 | Env: opts.NewListOpts(opts.ValidateEnv), |
| 38 | EnvFile: opts.NewListOpts(nil), |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // newExecCommand creates a new cobra.Command for "docker exec". |
| 43 | func newExecCommand(dockerCLI command.Cli) *cobra.Command { |
no outgoing calls
searching dependent graphs…