Initial pull implemented.
Support for proxy repositories by pulling from the proxy and then tagging the image.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user