docker/daemon/daemonbuilder/image.go

19 строки
294 B
Go

package daemonbuilder
import (
"github.com/docker/docker/image"
"github.com/docker/docker/runconfig"
)
type imgWrap struct {
inner *image.Image
}
func (img imgWrap) ID() string {
return string(img.inner.ID())
}
func (img imgWrap) Config() *runconfig.Config {
return img.inner.Config
}