Module dkregistry::v2
[−]
[src]
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 |
Manifest types. |
Structs
Client |
A Client to make outgoing API requests to a registry. |
Config |
Configuration for a |
TokenAuth |
Type Definitions
FutureBlob |
Convenience alias for future binary blob. |
FutureBool |
Convenience alias for future boolean result. |
FutureManifest |
Convenience alias for future manifest blob. |
FutureTokenAuth |
Convenience alias for future |
StreamCatalog |
Convenience alias for a stream of |
StreamTags |
Convenience alias for a stream of |