From 3ff1583814b4e69d2d85ee2b1d342d0d5974b9de Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Fri, 27 Mar 2020 11:06:16 -0500 Subject: podmanv2 commit add commit of a container to a container-image Signed-off-by: Brent Baude --- pkg/domain/entities/containers.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'pkg/domain/entities/containers.go') 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 +} -- cgit v1.2.3-54-g00ecf