2022-07-18 06:51:49 -04:00
|
|
|
package containerd
|
|
|
|
|
|
|
|
import (
|
2022-08-10 09:22:32 -04:00
|
|
|
"errors"
|
2022-07-18 06:51:49 -04:00
|
|
|
"io"
|
|
|
|
|
2022-08-10 09:22:32 -04:00
|
|
|
"github.com/docker/docker/errdefs"
|
2022-07-18 06:51:49 -04:00
|
|
|
specs "github.com/opencontainers/image-spec/specs-go/v1"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ImportImage imports an image, getting the archived layer data either from
|
|
|
|
// inConfig (if src is "-"), or from a URI specified in src. Progress output is
|
|
|
|
// written to outStream. Repository and tag names can optionally be given in
|
|
|
|
// the repo and tag arguments, respectively.
|
|
|
|
func (i *ImageService) ImportImage(src string, repository string, platform *specs.Platform, tag string, msg string, inConfig io.ReadCloser, outStream io.Writer, changes []string) error {
|
2022-08-10 09:22:32 -04:00
|
|
|
return errdefs.NotImplemented(errors.New("not implemented"))
|
2022-07-18 06:51:49 -04:00
|
|
|
}
|