summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-21 14:46:39 +0100
committerGitHub <noreply@github.com>2020-03-21 14:46:39 +0100
commit195a82ffbc435716ef5bb69f6eefa333abe3f840 (patch)
tree5d37dc8abce399a4bad65eb7eb81614ce63a63cc /pkg/domain/entities/engine_container.go
parente1f2851976fb66b92779fcb45a2ae2117923ca4e (diff)
parentc3a9ff11743c1ee25515ced348ec635fb7703aa0 (diff)
downloadpodman-195a82ffbc435716ef5bb69f6eefa333abe3f840.tar.gz
podman-195a82ffbc435716ef5bb69f6eefa333abe3f840.tar.bz2
podman-195a82ffbc435716ef5bb69f6eefa333abe3f840.zip
Merge pull request #5577 from baude/v2volumecreate
podmanv2 volume create
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 e3c3b2daf..5820c12c3 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -12,6 +12,7 @@ type ContainerEngine interface {
PodDelete(ctx context.Context, opts PodPruneOptions) (*PodDeleteReport, error)
PodExists(ctx context.Context, nameOrId string) (*BoolReport, error)
PodPrune(ctx context.Context) (*PodPruneReport, error)
+ VolumeCreate(ctx context.Context, opts VolumeCreateOptions) (*IdOrNameResponse, error)
VolumeDelete(ctx context.Context, opts VolumeDeleteOptions) (*VolumeDeleteReport, error)
VolumePrune(ctx context.Context) (*VolumePruneReport, error)
}