Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Present checks if the image is already present in the node. Present(imageName string) (bool, error) // Export is the main reason we are using this and not the cri interface directly (cri has no // service for export!) -- and does what it says: exports an image to disk. Export(imageName, destination string) error }
Manager is an interface defining an image manager -- basically a small abstraction around cri such that we can check for images, pull images, and export images from the cri sock mounted in a launcher pod.
func NewImageManager ¶
func NewImageManager(logger claberneteslogging.Instance, criKind string) (Manager, error)
NewImageManager returns an image Manager for the given cri.
Click to show internal directories.
Click to hide internal directories.