mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
907407d0b2
Signed-off-by: David Calavera <david.calavera@gmail.com>
18 lines
304 B
Go
18 lines
304 B
Go
package daemonbuilder
|
|
|
|
import (
|
|
"github.com/docker/docker/image"
|
|
"github.com/docker/engine-api/types/container"
|
|
)
|
|
|
|
type imgWrap struct {
|
|
inner *image.Image
|
|
}
|
|
|
|
func (img imgWrap) ID() string {
|
|
return string(img.inner.ID())
|
|
}
|
|
|
|
func (img imgWrap) Config() *container.Config {
|
|
return img.inner.Config
|
|
}
|