Skip to main content

pull_pack

Function pull_pack 

Source
pub async fn pull_pack(
    reference: &str,
    output: &Path,
    options: &OciTransferOptions,
) -> Result<OciPullResult>
Expand description

Pulls one OCI-distributed pack, verifies both OCI and Tuff integrity, and persists it atomically.

ยงErrors

Returns an error for an invalid reference, existing output, credential and TLS failures, unsupported OCI metadata, registry protocol failures, digest mismatches, or invalid pack bytes.