Initial pull implemented.

Support for proxy repositories by pulling from the proxy and then tagging the image.
This commit is contained in:
2025-03-09 14:18:29 +01:00
parent 965dfbf245
commit b31e03bc7a
13 changed files with 292 additions and 15 deletions
+12
View File
@@ -0,0 +1,12 @@
package runtime
// ContainerRuntime defines the interface for managing containerd images
type ContainerRuntime interface {
// List images: returns map of container image to whether or not it is pinned
List() (map[string]bool, error)
Pin(imageRef string) error
Unpin(imageRef string) error
Pull(imageRef string) error
Tag(imageFrom, imageTo string) error
Remove(imageRef string) error
}