Mark NodeNotReady for docker version below 1.6.2

This commit is contained in:
Dawn Chen
2015-10-21 13:04:10 -07:00
parent b691fd299c
commit a39e1e96dc
10 changed files with 197 additions and 10 deletions

View File

@@ -72,6 +72,9 @@ type ImageSpec struct {
// by a container runtime.
// Thread safety is required from implementations of this interface.
type Runtime interface {
// Type returns the type of the container runtime.
Type() string
// Version returns the version information of the container runtime.
Version() (Version, error)
// GetPods returns a list containers group by pods. The boolean parameter