Expand description
Builder to create RAFS filesystems from directories and tarballs.
Modules§
Structs§
- Artifact
Writer - ArtifactWriter provides a writer to allow writing bootstrap or blob data to a single file or in a directory.
- Blob
Cache Generator - Blob
Compactor - RAFS blob compactor to compact multiple small blobs into one blob.
- Blob
Context - BlobContext is used to hold the blob information of a layer during build.
- Blob
Manager - BlobManager stores all blob related information during build.
- Bootstrap
- RAFS bootstrap/meta builder.
- Bootstrap
Context - BootstrapContext is used to hold in memory data of bootstrap during build.
- Bootstrap
Manager - BootstrapManager is used to hold the parent bootstrap reader and create new bootstrap context.
- Build
Context - Build
Output - BuildOutput represents the output in this build.
- Chunkdict
Blob Info - Chunkdict
Chunk Info - Compact
Config - Directory
Builder - Features
- A set of enabled feature flags to control behavior of RAFS filesystem builder
- Generator
- Struct to generate chunkdict RAFS bootstrap.
- Hash
Chunk Dict - An implementation of ChunkDict based on HashMap.
- Merger
- Struct to generate the merged RAFS bootstrap for an image from per layer RAFS bootstraps.
- Metadata
Tree Builder - Node
Chunk - Chunk information for RAFS filesystem builder.
- Optimize
Prefetch - Prefetch
- Manage filesystem data prefetch configuration and state for builder.
- Stargz
Builder - Build RAFS filesystems from eStargz images.
- TarBuilder
- Helper for TarballBuilder/StargzBuilder to build the filesystem tree.
- Tarball
Builder - Builder to create RAFS filesystems from tarballs.
- Tree
- An in-memory tree structure to maintain information and topology of filesystem nodes.
Enums§
- Artifact
Storage - Filesystem based storage configuration for artifacts.
- Chunk
Source - Source of chunk data: chunk dictionary, parent filesystem or builder.
- Conversion
Type - Filesystem conversion type supported by RAFS builder.
- Feature
- Feature flags to control behavior of RAFS filesystem builder.
- Overlay
- RAFS filesystem node overlay state.
- Prefetch
Policy - Filesystem data prefetch policy.
- Whiteout
Spec - RAFS filesystem overlay specifications.
Traits§
- Builder
- Trait to generate a RAFS filesystem from the source.
- Chunk
Dict - Trait to manage chunk cache for chunk deduplication.
Functions§
- generate_
prefetch_ file_ info - parse_
chunk_ dict_ arg - Parse a chunk dictionary argument string.
- update_
ctx_ from_ bootstrap
Type Aliases§
- Tree
Node - Type alias for tree internal node.