hocker-1.0.3: Interact with the docker registry and generate nix build instructions

Copyright(C) 2016 Awake Networks
LicenseApache-2.0
MaintainerAwake Networks <opensource@awakenetworks.com>
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

Network.Wreq.Docker.Image

Description

 

Synopsis

Documentation

fetchImage :: HockerMeta -> IO (Either HockerException Text) Source #

Fetch an image from the docker registery, assembling the artifacts into a Docker V1.2 Image.

fetchLayer :: HockerMeta -> IO (Either HockerException FilePath) Source #

Fetch a layer using its digest key from the docker registery.

fetchConfig :: HockerMeta -> IO (Either HockerException ByteString) Source #

Fetch the configuration JSON file of the specified image from the docker registry.

fetchImageManifest :: HockerMeta -> IO (Either HockerException ByteString) Source #

Fetch the docker registry manifest JSON file for the specified image from the docker registry..