Module registry

Source
Expand description

Registry client module

This module provides authentication, client logic, and unified pipeline operations for interacting with Docker Registry HTTP API v2. It supports login, token management, and robust error handling for registry operations.

§Unified Pipeline Architecture

The registry module uses a unified pipeline approach that handles both uploads and downloads with priority-based scheduling, eliminating redundancy and simplifying the codebase.

Re-exports§

pub use auth::Auth;
pub use client::RegistryClient;
pub use client::RegistryClientBuilder;
pub use tar_utils::TarUtils;
pub use progress::ProgressTracker;
pub use stats::LayerUploadStats;
pub use stats::ProgressReporter;
pub use stats::UploadStats;
pub use unified_pipeline::PipelineConfig;
pub use unified_pipeline::PipelineTask;
pub use unified_pipeline::TaskOperation;
pub use unified_pipeline::UnifiedPipeline;

Modules§

auth
client
Enhanced registry client with better configuration and error handling
progress
Progress tracking for uploads
stats
Upload statistics and progress reporting
tar
tar_utils
Shared tar processing utilities to eliminate duplication
unified_pipeline
Unified registry pipeline for both upload and download operations

Structs§

RegistryCoordinator
Registry coordinator (simplified and unified)
UploadConfig
Simplified upload configuration (consolidated)
Uploader
Unified uploader interface (simplified)