summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-03-27 11:06:16 -0500
committerBrent Baude <bbaude@redhat.com>2020-03-28 10:11:50 -0500
commit3ff1583814b4e69d2d85ee2b1d342d0d5974b9de (patch)
tree3d52acd1653ff0682b3430d13b174a1dddd8dd18 /pkg/domain/entities/engine_container.go
parent21b67e64694fb58535a6b61fb7f3bc43ccda1d11 (diff)
downloadpodman-3ff1583814b4e69d2d85ee2b1d342d0d5974b9de.tar.gz
podman-3ff1583814b4e69d2d85ee2b1d342d0d5974b9de.tar.bz2
podman-3ff1583814b4e69d2d85ee2b1d342d0d5974b9de.zip
podmanv2 commit
add commit of a container to a container-image Signed-off-by: Brent Baude <bbaude@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 fceed1003..28be8b225 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -5,6 +5,7 @@ import (
)
type ContainerEngine interface {
+ ContainerCommit(ctx context.Context, nameOrId string, options CommitOptions) (*CommitReport, error)
ContainerExists(ctx context.Context, nameOrId string) (*BoolReport, error)
ContainerInspect(ctx context.Context, namesOrIds []string, options ContainerInspectOptions) ([]*ContainerInspectReport, error)
ContainerKill(ctx context.Context, namesOrIds []string, options KillOptions) ([]*KillReport, error)