Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extractor ¶
type Extractor interface { // CopyFromImage copies a file from a given image reference to the destination file. CopyFromImage(ctx context.Context, imageRef string, filePathInImage string, destination string, permissions os.FileMode) error }
Extractor is an interface for extracting files from a container image.
func NewExtractor ¶
func NewExtractor() Extractor
NewExtractor creates a new instance of containerd extractor.
Click to show internal directories.
Click to hide internal directories.