summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/containers.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/containers.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/containers.go')
-rw-r--r--pkg/domain/entities/containers.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go
index fbc0247ab..3389e4db5 100644
--- a/pkg/domain/entities/containers.go
+++ b/pkg/domain/entities/containers.go
@@ -1,6 +1,7 @@
package entities
import (
+ "io"
"time"
"github.com/containers/libpod/libpod/define"
@@ -106,3 +107,19 @@ type ContainerInspectOptions struct {
type ContainerInspectReport struct {
*define.InspectContainerData
}
+
+type CommitOptions struct {
+ Author string
+ Changes []string
+ Format string
+ ImageName string
+ IncludeVolumes bool
+ Message string
+ Pause bool
+ Quiet bool
+ Writer io.Writer
+}
+
+type CommitReport struct {
+ Id string
+}