summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-20 14:13:44 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-21 08:33:15 -0500
commitae5e7e7e782a96107d7c0254b55a03dac3dcce76 (patch)
tree317a3f1793b3ef4754940c73d25c93e94892df6e /pkg/domain/entities/engine_container.go
parent84bbdcef5d3f6f431fe8fbf9e59896d7fc311111 (diff)
downloadpodman-ae5e7e7e782a96107d7c0254b55a03dac3dcce76.tar.gz
podman-ae5e7e7e782a96107d7c0254b55a03dac3dcce76.tar.bz2
podman-ae5e7e7e782a96107d7c0254b55a03dac3dcce76.zip
v2podman port
add port command to podman. 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 506d1c317..58f7af41a 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -28,6 +28,7 @@ type ContainerEngine interface {
ContainerLogs(ctx context.Context, containers []string, options ContainerLogsOptions) error
ContainerMount(ctx context.Context, nameOrIds []string, options ContainerMountOptions) ([]*ContainerMountReport, error)
ContainerPause(ctx context.Context, namesOrIds []string, options PauseUnPauseOptions) ([]*PauseUnpauseReport, error)
+ ContainerPort(ctx context.Context, nameOrId string, options ContainerPortOptions) ([]*ContainerPortReport, error)
ContainerRestart(ctx context.Context, namesOrIds []string, options RestartOptions) ([]*RestartReport, error)
ContainerRestore(ctx context.Context, namesOrIds []string, options RestoreOptions) ([]*RestoreReport, error)
ContainerRm(ctx context.Context, namesOrIds []string, options RmOptions) ([]*RmReport, error)