Module v2

Module v2 

Source
Expand description

Client library for Docker Registry API v2.

This module provides a Client which can be used to list images and tags, to check for the presence of blobs (manifests, layers and other objects) by digest, and to retrieve them.

§Example


use docker_registry::v2::Client;

// Retrieve an image manifest.
let client = Client::configure().registry("quay.io").build()?;
let manifest = client.get_manifest("coreos/etcd", "v3.1.0").await?;

Modules§

manifest

Structs§

ApiError
ApiErrors
Client
A Client to make outgoing API requests to a registry.
Config
Configuration for a Client.

Enums§

ContentDigestError
WwwHeaderParseError