image_import.go 591 B

123456789101112131415
  1. package containerd
  2. import (
  3. "io"
  4. specs "github.com/opencontainers/image-spec/specs-go/v1"
  5. )
  6. // ImportImage imports an image, getting the archived layer data either from
  7. // inConfig (if src is "-"), or from a URI specified in src. Progress output is
  8. // written to outStream. Repository and tag names can optionally be given in
  9. // the repo and tag arguments, respectively.
  10. func (i *ImageService) ImportImage(src string, repository string, platform *specs.Platform, tag string, msg string, inConfig io.ReadCloser, outStream io.Writer, changes []string) error {
  11. panic("not implemented")
  12. }