kube-fetcher/cmd/fetcher/container_runtime.go
2025-03-01 13:03:18 +01:00

16 lines
317 B
Go

package main
type Image struct {
Name string
Pinned bool
}
// ContainerRuntime defines the interface for managing containerd images
type ContainerRuntime interface {
List() ([]Image, error)
Pin(imageRef string) error
Unpin(imageRef string) error
Pull(imageRef string) error
Remove(imageRef string) error
}