summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/containers.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/infra/tunnel/containers.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/infra/tunnel/containers.go')
-rw-r--r--pkg/domain/infra/tunnel/containers.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go
index 227b660f7..49a3069d6 100644
--- a/pkg/domain/infra/tunnel/containers.go
+++ b/pkg/domain/infra/tunnel/containers.go
@@ -14,6 +14,10 @@ import (
"github.com/pkg/errors"
)
+func (ic *ContainerEngine) ContainerRunlabel(ctx context.Context, label string, image string, args []string, options entities.ContainerRunlabelOptions) error {
+ return errors.New("not implemented")
+}
+
func (ic *ContainerEngine) ContainerExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error) {
exists, err := containers.Exists(ic.ClientCxt, nameOrId)
return &entities.BoolReport{Value: exists}, err