Merge pull request #8570 from vrothberg/run-950

rewrite container copy
This commit is contained in:
OpenShift Merge Robot
2020-12-04 13:33:36 -05:00
committed by GitHub
14 changed files with 1425 additions and 969 deletions

View File

@ -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

View File

@ -121,6 +121,8 @@ const (
Cleanup Status = "cleanup"
// Commit ...
Commit Status = "commit"
// Copy ...
Copy Status = "copy"
// Create ...
Create Status = "create"
// Exec ...