summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-04 08:35:23 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-06 09:26:11 -0500
commit5e0b4497365f9b3c2d795e5771a3abec7cd24cbb (patch)
tree169fd388ae4b8576c7a4e451276447a88343e79c /pkg/domain/entities/engine_container.go
parentba64186750a23675f42744ca4203b524e7b1b378 (diff)
downloadpodman-5e0b4497365f9b3c2d795e5771a3abec7cd24cbb.tar.gz
podman-5e0b4497365f9b3c2d795e5771a3abec7cd24cbb.tar.bz2
podman-5e0b4497365f9b3c2d795e5771a3abec7cd24cbb.zip
podmanv2 start
add the ability to start containers Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities/engine_container.go')
-rw-r--r--pkg/domain/entities/engine_container.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go
index 9bf3d51de..264780771 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -21,6 +21,7 @@ type ContainerEngine interface {
ContainerPause(ctx context.Context, namesOrIds []string, options PauseUnPauseOptions) ([]*PauseUnpauseReport, error)
ContainerRestart(ctx context.Context, namesOrIds []string, options RestartOptions) ([]*RestartReport, error)
ContainerRm(ctx context.Context, namesOrIds []string, options RmOptions) ([]*RmReport, error)
+ ContainerStart(ctx context.Context, namesOrIds []string, options ContainerStartOptions) ([]*ContainerStartReport, error)
ContainerStop(ctx context.Context, namesOrIds []string, options StopOptions) ([]*StopReport, error)
ContainerTop(ctx context.Context, options TopOptions) (*StringSliceReport, error)
ContainerUnpause(ctx context.Context, namesOrIds []string, options PauseUnPauseOptions) ([]*PauseUnpauseReport, error)