WithRemoveExistingContainer is an option to remove the existing container.
()
| 118 | // WithRemoveExistingContainer is an option to remove the existing |
| 119 | // container. |
| 120 | func WithRemoveExistingContainer() DevcontainerCLIUpOptions { |
| 121 | return func(o *DevcontainerCLIUpConfig) { |
| 122 | o.Args = append(o.Args, "--remove-existing-container") |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | // WithUpOutput sets additional stdout and stderr writers for logs |
| 127 | // during Up operations. |
no outgoing calls