summaryrefslogtreecommitdiff
path: root/vendor/github.com/containerd/containerd/task.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/containerd/containerd/task.go')
-rw-r--r--vendor/github.com/containerd/containerd/task.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/containerd/containerd/task.go b/vendor/github.com/containerd/containerd/task.go
index 105d4fbc31..9be1394cf4 100644
--- a/vendor/github.com/containerd/containerd/task.go
+++ b/vendor/github.com/containerd/containerd/task.go
@@ -139,6 +139,11 @@ type TaskInfo struct {
RootFS []mount.Mount
// Options hold runtime specific settings for task creation
Options interface{}
+ // RuntimePath is an absolute path that can be used to overwrite path
+ // to a shim runtime binary.
+ RuntimePath string
+
+ // runtime is the runtime name for the container, and cannot be changed.
runtime string
}