Skip to main content

Crate qlean

Crate qlean 

Source

Structs§

CustomImageConfig
Configuration for custom images - supports two modes:
Machine
MachineConfig
MachinePool

Enums§

Distro
Image
Wrapper enum for different Image types
ImageSource
Source of a file: URL or local file path
ShaType

Functions§

compute_sha256_streaming
Compute SHA-256 hash using streaming approach with sync I/O This provides 7-27% better performance than shell commands in release mode
compute_sha512_streaming
Compute SHA-512 hash using streaming approach with sync I/O
create_custom_image
Factory function for custom images
create_image
Factory function to create Image instances based on distro
get_sha256
Calculate SHA256 with command line tool sha256sum
get_sha512
Calculate SHA512 with command line tool sha512sum
with_machine
with_pool