From 0feec5de985ba2117fffb61b50b08563e67725dc Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Fri, 20 Mar 2020 17:06:27 -0500 Subject: podmanv2 pod exists add pod exists for podman v2 Signed-off-by: Brent Baude --- pkg/domain/entities/engine_container.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/domain/entities') diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go index aa2ceb630..e3c3b2daf 100644 --- a/pkg/domain/entities/engine_container.go +++ b/pkg/domain/entities/engine_container.go @@ -10,6 +10,7 @@ type ContainerEngine interface { ContainerExists(ctx context.Context, nameOrId string) (*BoolReport, error) ContainerWait(ctx context.Context, namesOrIds []string, options WaitOptions) ([]WaitReport, error) PodDelete(ctx context.Context, opts PodPruneOptions) (*PodDeleteReport, error) + PodExists(ctx context.Context, nameOrId string) (*BoolReport, error) PodPrune(ctx context.Context) (*PodPruneReport, error) VolumeDelete(ctx context.Context, opts VolumeDeleteOptions) (*VolumeDeleteReport, error) VolumePrune(ctx context.Context) (*VolumePruneReport, error) -- cgit v1.2.3-54-g00ecf