From 61828cf4807757eb9b85151a0e425a1790f06c27 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Thu, 7 May 2020 15:57:06 +0200 Subject: container runlabel Implement container runlabel for v2. Local client only. Signed-off-by: Valentin Rothberg --- pkg/domain/infra/tunnel/containers.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/domain/infra/tunnel') 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 -- cgit v1.2.3-54-g00ecf