Add engine-api types to docker

This moves the types for the `engine-api` repo to the existing types
package.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 91e197d614547f0202e6ae9b8a24d88ee131d950
Component: engine
This commit is contained in:
Michael Crosby
2016-09-06 11:18:12 -07:00
parent a1f4f932da
commit 45ddc4bfcb
289 changed files with 4465 additions and 366 deletions

View File

@ -7,7 +7,7 @@ import (
"time"
"github.com/docker/distribution/digest"
"github.com/docker/engine-api/types/container"
"github.com/docker/docker/api/types/container"
)
// ID is the content-addressable ID of an image.

View File

@ -9,9 +9,9 @@ import (
"github.com/Sirupsen/logrus"
"github.com/docker/distribution/digest"
"github.com/docker/docker/api/types/versions"
"github.com/docker/docker/image"
"github.com/docker/docker/layer"
"github.com/docker/engine-api/types/versions"
)
var validHex = regexp.MustCompile(`^([a-f0-9]{64})$`)