mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9c8b0b6050
This splits the ImageService methods to separate files, to closer match the existing implementation, and to reduce the amount of code per file, making it easier to read, and to reduce merge conflicts if new functionality is added. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
11 lines
344 B
Go
11 lines
344 B
Go
package containerd
|
|
|
|
import (
|
|
"github.com/docker/docker/image"
|
|
specs "github.com/opencontainers/image-spec/specs-go/v1"
|
|
)
|
|
|
|
// GetImage returns an image corresponding to the image referred to by refOrID.
|
|
func (i *ImageService) GetImage(refOrID string, platform *specs.Platform) (retImg *image.Image, retErr error) {
|
|
panic("not implemented")
|
|
}
|