implement -v, -p, --service-ports and --use-aliases on compose run

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-03-04 14:45:04 +01:00
parent 91b39d0772
commit d08255c4ff
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
5 changed files with 139 additions and 60 deletions

View file

@ -151,20 +151,21 @@ type RemoveOptions struct {
// RunOptions options to execute compose run
type RunOptions struct {
Name string
Service string
Command []string
Entrypoint []string
Detach bool
AutoRemove bool
Writer io.Writer
Reader io.Reader
Tty bool
WorkingDir string
User string
Environment []string
Labels types.Labels
Privileged bool
Name string
Service string
Command []string
Entrypoint []string
Detach bool
AutoRemove bool
Writer io.Writer
Reader io.Reader
Tty bool
WorkingDir string
User string
Environment []string
Labels types.Labels
Privileged bool
UseNetworkAliases bool
// used by exec
Index int
}