Make rkt implement the container Runtime

This commit is contained in:
Victor Marmol
2015-05-01 16:12:14 -07:00
parent e44d9df0f4
commit ba7e940a57
3 changed files with 4 additions and 1 deletions

View File

@@ -81,6 +81,8 @@ type Runtime struct {
dockerKeyring credentialprovider.DockerKeyring
}
var _ kubecontainer.Runtime = &Runtime{}
// New creates the rkt container runtime which implements the container runtime interface.
// It will test if the rkt binary is in the $PATH, and whether we can get the
// version of it. If so, creates the rkt container runtime, otherwise returns an error.