Make Task, Container, Image interface types

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-05-25 11:05:58 -07:00
parent 1de25c09e3
commit 608e6daaa4
5 changed files with 61 additions and 32 deletions

View File

@@ -2,7 +2,12 @@ package containerd
import "github.com/containerd/containerd/images"
type Image struct {
type Image interface {
}
var _ = (Image)(&image{})
type image struct {
client *Client
i images.Image