Crate nydus_builder

Crate nydus_builder 

Source
Expand description

Builder to create RAFS filesystems from directories and tarballs.

Modules§

attributes

Structs§

ArtifactWriter
ArtifactWriter provides a writer to allow writing bootstrap or blob data to a single file or in a directory.
BlobCacheGenerator
BlobCompactor
RAFS blob compactor to compact multiple small blobs into one blob.
BlobContext
BlobContext is used to hold the blob information of a layer during build.
BlobManager
BlobManager stores all blob related information during build.
Bootstrap
RAFS bootstrap/meta builder.
BootstrapContext
BootstrapContext is used to hold in memory data of bootstrap during build.
BootstrapManager
BootstrapManager is used to hold the parent bootstrap reader and create new bootstrap context.
BuildContext
BuildOutput
BuildOutput represents the output in this build.
ChunkdictBlobInfo
ChunkdictChunkInfo
CompactConfig
DirectoryBuilder
Features
A set of enabled feature flags to control behavior of RAFS filesystem builder
Generator
Struct to generate chunkdict RAFS bootstrap.
HashChunkDict
An implementation of ChunkDict based on HashMap.
Merger
Struct to generate the merged RAFS bootstrap for an image from per layer RAFS bootstraps.
MetadataTreeBuilder
NodeChunk
Chunk information for RAFS filesystem builder.
OptimizePrefetch
Prefetch
Manage filesystem data prefetch configuration and state for builder.
StargzBuilder
Build RAFS filesystems from eStargz images.
TarBuilder
Helper for TarballBuilder/StargzBuilder to build the filesystem tree.
TarballBuilder
Builder to create RAFS filesystems from tarballs.
Tree
An in-memory tree structure to maintain information and topology of filesystem nodes.

Enums§

ArtifactStorage
Filesystem based storage configuration for artifacts.
ChunkSource
Source of chunk data: chunk dictionary, parent filesystem or builder.
ConversionType
Filesystem conversion type supported by RAFS builder.
Feature
Feature flags to control behavior of RAFS filesystem builder.
Overlay
RAFS filesystem node overlay state.
PrefetchPolicy
Filesystem data prefetch policy.
WhiteoutSpec
RAFS filesystem overlay specifications.

Traits§

Builder
Trait to generate a RAFS filesystem from the source.
ChunkDict
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§

TreeNode
Type alias for tree internal node.