diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-04 13:33:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 13:33:36 -0500 |
commit | 0f496e4b81aadbc6e38cc02af67ddc58f1f3ef79 (patch) | |
tree | dd41dec0bb4216ab56013b76644a08ad41a5bd12 /libpod | |
parent | f01630acf35a11aecdbfb9b77b249dcec85e67b5 (diff) | |
parent | ccbca0b4abfe5daec59b3193a6bff077d817fd18 (diff) | |
download | podman-0f496e4b81aadbc6e38cc02af67ddc58f1f3ef79.tar.gz podman-0f496e4b81aadbc6e38cc02af67ddc58f1f3ef79.tar.bz2 podman-0f496e4b81aadbc6e38cc02af67ddc58f1f3ef79.zip |
Merge pull request #8570 from vrothberg/run-950
rewrite container copy
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container.go | 5 | ||||
-rw-r--r-- | libpod/events/config.go | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go index e954d84eb..4e0687318 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -267,6 +267,11 @@ func (c *Container) Config() *ContainerConfig { return returnConfig } +// Runtime returns the container's Runtime. +func (c *Container) Runtime() *Runtime { + return c.runtime +} + // Spec returns the container's OCI runtime spec // The spec returned is the one used to create the container. The running // spec may differ slightly as mounts are added based on the image diff --git a/libpod/events/config.go b/libpod/events/config.go index fc1457289..085fa9d52 100644 --- a/libpod/events/config.go +++ b/libpod/events/config.go @@ -121,6 +121,8 @@ const ( Cleanup Status = "cleanup" // Commit ... Commit Status = "commit" + // Copy ... + Copy Status = "copy" // Create ... Create Status = "create" // Exec ... |