Module client

Module client 

Source

StructsΒ§

Artifact πŸ”’
ArtifactsResponse πŸ”’
OtaClient
HTTP client for downloading OTA updates from GitHub.
PrHead πŸ”’
PullRequest πŸ”’
Release πŸ”’
ReleaseAsset πŸ”’
Repository πŸ”’
WorkflowRun πŸ”’
WorkflowRunsResponse πŸ”’

EnumsΒ§

OtaError
Error types that can occur during OTA operations.
OtaProgress
Progress states during an OTA download operation.

ConstantsΒ§

CHUNK_SIZE πŸ”’
Size of each download chunk in bytes (10 MB)
CHUNK_TIMEOUT_SECS πŸ”’
Timeout for each chunk download attempt in seconds
MAX_RETRIES πŸ”’
Maximum number of retry attempts for failed chunks

FunctionsΒ§

check_disk_space πŸ”’
Verifies sufficient disk space is available in the specified path for download.
create_webpki_root_store πŸ”’
Creates a root certificate store with Mozilla’s trusted CA certificates.