Module dkregistry::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 tokio_core::reactor::Core;
use dkregistry::v2::Client;

// Retrieve an image manifest.
let mut tcore = Core::new()?;
let dclient = Client::configure(&tcore.handle())
                     .registry("quay.io")
                     .build()?;
let fetch = dclient.get_manifest("coreos/etcd", "v3.1.0");
let manifest = tcore.run(fetch)?;

Modules

Manifest types.

Structs

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

Type Definitions

Convenience alias for future binary blob.
Convenience alias for a future boolean result.
Convenience alias for a future manifest blob.
Convenience alias for future TokenAuth result.
Convenience alias for a stream of String repos.
Convenience alias for a stream of String tags.