Support for proxy repositories by pulling from the proxy and then tagging the image.
		
			
				
	
	
		
			13 lines
		
	
	
		
			394 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			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
 | |
| }
 |