diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-06 18:03:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 18:03:34 +0200 |
commit | 09f553cc8054a670cb2c333ee47de4311d325635 (patch) | |
tree | 8c69db4a0f11455f92a0c89a90c993e5bd28f6f4 /pkg/domain/entities/containers.go | |
parent | 4b69cf095002950b850b6b787f779cc1cc50022f (diff) | |
parent | 5e0b4497365f9b3c2d795e5771a3abec7cd24cbb (diff) | |
download | podman-09f553cc8054a670cb2c333ee47de4311d325635.tar.gz podman-09f553cc8054a670cb2c333ee47de4311d325635.tar.bz2 podman-09f553cc8054a670cb2c333ee47de4311d325635.zip |
Merge pull request #5731 from baude/v2start
podmanv2 start
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r-- | pkg/domain/entities/containers.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go index cf907eb1b..6b4bb9ba2 100644 --- a/pkg/domain/entities/containers.go +++ b/pkg/domain/entities/containers.go @@ -186,3 +186,24 @@ type ExecOptions struct { User string WorkDir string } + +// ContainerStartOptions describes the val from the +// CLI needed to start a container +type ContainerStartOptions struct { + Attach bool + DetachKeys string + Interactive bool + Latest bool + SigProxy bool + Stdout *os.File + Stderr *os.File + Stdin *os.File +} + +// ContainerStartReport describes the response from starting +// containers from the cli +type ContainerStartReport struct { + Id string + Err error + ExitCode int +} |