package cim
import "github.com/Microsoft/hcsshim/pkg/ociwclayer/cim"
Index ¶
- func DestroyCimLayer(layerPath string) error
- func ImportCimLayerFromTar(ctx context.Context, r io.Reader, layerPath string, parentLayerPaths []string) (int64, error)
Functions ¶
func DestroyCimLayer ¶
func ImportCimLayerFromTar ¶
func ImportCimLayerFromTar(ctx context.Context, r io.Reader, layerPath string, parentLayerPaths []string) (int64, error)
ImportCimLayerFromTar reads a layer from an OCI layer tar stream and extracts it into the CIM format at the specified path. The caller must specify the parent layers, if any, ordered from lowest to highest layer.
This function returns the total size of the layer's files, in bytes.
Source Files ¶
- Version
- v0.12.0-rc.1
- Published
- Nov 2, 2023
- Platform
- windows/amd64
- Imports
- 14 packages
- Last checked
- 58 minutes ago –
Tools for package owners.