summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-05-07 15:57:06 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-05-07 16:18:39 +0200
commit61828cf4807757eb9b85151a0e425a1790f06c27 (patch)
treedfdb6aa60047c755455bab37cdc18463c0fb241d /pkg/domain/entities/engine_container.go
parent7cd2e35203cd059a75792c1ff03486ba32a23ddb (diff)
downloadpodman-61828cf4807757eb9b85151a0e425a1790f06c27.tar.gz
podman-61828cf4807757eb9b85151a0e425a1790f06c27.tar.bz2
podman-61828cf4807757eb9b85151a0e425a1790f06c27.zip
container runlabel
Implement container runlabel for v2. Local client only. Signed-off-by: Valentin Rothberg <rothberg@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 1bfac4514..b2869b0ca 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -34,6 +34,7 @@ type ContainerEngine interface {
ContainerRestore(ctx context.Context, namesOrIds []string, options RestoreOptions) ([]*RestoreReport, error)
ContainerRm(ctx context.Context, namesOrIds []string, options RmOptions) ([]*RmReport, error)
ContainerRun(ctx context.Context, opts ContainerRunOptions) (*ContainerRunReport, error)
+ ContainerRunlabel(ctx context.Context, label string, image string, args []string, opts ContainerRunlabelOptions) error
ContainerStart(ctx context.Context, namesOrIds []string, options ContainerStartOptions) ([]*ContainerStartReport, error)
ContainerStats(ctx context.Context, namesOrIds []string, options ContainerStatsOptions) error
ContainerStop(ctx context.Context, namesOrIds []string, options StopOptions) ([]*StopReport, error)