Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkedExtractor ¶
type ChunkedExtractor struct {
// contains filtered or unexported fields
}
ChunkedExtractor handles file extraction from zstd:chunked (stargz-zstd) layers zstd:chunked is a seekable format similar to eStargz but using zstd compression
func NewChunkedExtractor ¶
func NewChunkedExtractor(reader io.ReaderAt, size int64) *ChunkedExtractor
NewChunkedExtractor creates a new zstd:chunked extractor
func (*ChunkedExtractor) ExtractFile ¶
func (e *ChunkedExtractor) ExtractFile(ctx context.Context, targetPath string, outputPath string) error
ExtractFile extracts a specific file from a zstd:chunked layer
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
Extractor handles file extraction from standard zstd-compressed OCI layers
func NewExtractor ¶
NewExtractor creates a new standard zstd layer extractor
func (*Extractor) ExtractFile ¶
ExtractFile extracts a specific file from a zstd-compressed OCI layer This downloads and decompresses the entire layer using zstd
Click to show internal directories.
Click to hide internal directories.