image_tag.go 565 B

1234567891011121314151617
  1. package containerd
  2. import (
  3. "github.com/docker/distribution/reference"
  4. "github.com/docker/docker/image"
  5. )
  6. // TagImage creates the tag specified by newTag, pointing to the image named
  7. // imageName (alternatively, imageName can also be an image ID).
  8. func (i *ImageService) TagImage(imageName, repository, tag string) (string, error) {
  9. panic("not implemented")
  10. }
  11. // TagImageWithReference adds the given reference to the image ID provided.
  12. func (i *ImageService) TagImageWithReference(imageID image.ID, newTag reference.Named) error {
  13. panic("not implemented")
  14. }