diff options
author | baude <bbaude@redhat.com> | 2018-05-11 12:33:47 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-15 17:08:10 +0000 |
commit | d870c25c012c8f8d39692d3c786c5f3ea0bd7169 (patch) | |
tree | 95ec275b645f7a34b0882f58b42ee446c2cae3b0 /cmd/podman/varlink/io.projectatomic.podman.varlink | |
parent | 962fde3c6cc62fe60132c6c94d0aa10103a77862 (diff) | |
download | podman-d870c25c012c8f8d39692d3c786c5f3ea0bd7169.tar.gz podman-d870c25c012c8f8d39692d3c786c5f3ea0bd7169.tar.bz2 podman-d870c25c012c8f8d39692d3c786c5f3ea0bd7169.zip |
implement varlink commit
Signed-off-by: baude <bbaude@redhat.com>
Closes: #762
Approved by: baude
Diffstat (limited to 'cmd/podman/varlink/io.projectatomic.podman.varlink')
-rw-r--r-- | cmd/podman/varlink/io.projectatomic.podman.varlink | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/cmd/podman/varlink/io.projectatomic.podman.varlink b/cmd/podman/varlink/io.projectatomic.podman.varlink index 66f6363b9..3de9ecdf8 100644 --- a/cmd/podman/varlink/io.projectatomic.podman.varlink +++ b/cmd/podman/varlink/io.projectatomic.podman.varlink @@ -138,7 +138,7 @@ type InfoHost ( uptime: string ) -# InfoGraphStatus describes the detailed status of the graph +# InfoGraphStatus describes the detailed status of the storage driver type InfoGraphStatus ( backing_filesystem: string, native_overlay_diff: string, @@ -202,7 +202,7 @@ method ListContainers() -> (containers: []ListContainerData) # See also [ListContainers](ListContainers) and [InspectContainer](InspectContainer). method GetContainer(name: string) -> (container: ListContainerData) -# This method has not been implemented yet. +# This method is not implemented yet. method CreateContainer() -> (notimplemented: NotImplemented) # InspectContainer data takes a name or ID of a container returns the inspection @@ -391,8 +391,14 @@ method SearchImage(name: string, limit: int) -> (images: []ImageSearch) # in a string array. method DeleteUnusedImages() -> (images: []string) -# This method is not implemented. -method CreateFromContainer() -> (notimplemented: NotImplemented) +# Commit, creates an image from an existing container. It requires the name or +# ID of the container as well as the resulting image name. Optionally, you can define an author and message +# to be added to the resulting image. You can also define changes to the resulting image for the following +# attributes: _CMD, ENTRYPOINT, ENV, EXPOSE, LABEL, STOPSIGNAL, USER, VOLUME, and WORKDIR_. To pause the +# container while it is being committed, pass a _true_ bool for the pause argument. If the container cannot +# be found by the ID or name provided, a (ContainerNotFound)[#ContainerNotFound] error will be returned; otherwise, +# the resulting image's ID will be returned as a string. +method Commit(name: string, image_name: string, changes: []string, author: string, message: string, pause: bool) -> (image: string) # ImportImage imports an image from a source (like tarball) into local storage. The image can have additional # descriptions added to it using the message and changes options. See also [ExportImage](ExportImage). |