kube-fetcher/pkg/runtime/container_runtime.go
Erik Brakkee b31e03bc7a Initial pull implemented.
Support for proxy repositories by pulling from the proxy and then tagging the image.
2025-03-09 14:18:29 +01:00

13 lines
394 B
Go

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
}