Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadImage ¶
func LoadImage(tempDir string, imageFS fs.FS, ref string, platform *ocispecs.Platform) (fs.FS, func() error, error)
LoadImage loads an OCI image from the given imageFS, ref, and platform. It returns an overlayfs.FS of the image's root filesystem, a function to close the image, and an error if any.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.