Code Monkey home page Code Monkey logo

deliverance's Introduction

deliverance

WARNING: proof of concept, not for general consumption

Run it locally

# install
$ go get github.com/ecordell/deliverance

# start a registry
$ docker run -it --rm -p 5000:5000 registry

# push manifests
$ dlvr push ./manifests localhost:5000/ecordell/testdeliverance:test
  Pushing to localhost:5000/ecordell/testdeliverance:test...
  Uploading d213f9ccc4e4 manifests
  DEBU[0000] push                                          digest="sha256:d213f9ccc4e47682afb20622d9ad6dc91a6207252cd262c4983947c48beaddef" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=8308
  DEBU[0000] push                                          digest="sha256:92d28d80396d5490334847b54c87a38d1bb0f606c8989787c47c208ee45d9ab8" mediatype=application/vnd.docker.container.image.v1+json size=153
  DEBU[0000] do request                                    digest="sha256:d213f9ccc4e47682afb20622d9ad6dc91a6207252cd262c4983947c48beaddef" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip request.headers="map[Accept:[application/vnd.docker.image.rootfs.diff.tar.gzip, *]]" request.method=HEAD size=8308 url="http://localhost:5000/v2/ecordell/testdeliverance/blobs/sha256:d213f9ccc4e47682afb20622d9ad6dc91a6207252cd262c4983947c48beaddef"
  DEBU[0000] do request                                    digest="sha256:92d28d80396d5490334847b54c87a38d1bb0f606c8989787c47c208ee45d9ab8" mediatype=application/vnd.docker.container.image.v1+json request.headers="map[Accept:[application/vnd.docker.container.image.v1+json, *]]" request.method=HEAD size=153 url="http://localhost:5000/v2/ecordell/testdeliverance/blobs/sha256:92d28d80396d5490334847b54c87a38d1bb0f606c8989787c47c208ee45d9ab8"
  DEBU[0000] fetch response received                       digest="sha256:92d28d80396d5490334847b54c87a38d1bb0f606c8989787c47c208ee45d9ab8" mediatype=application/vnd.docker.container.image.v1+json response.headers="map[Accept-Ranges:[bytes] Cache-Control:[max-age=31536000] Content-Length:[153] Content-Type:[application/octet-stream] Date:[Fri, 11 Oct 2019 20:52:21 GMT] Docker-Content-Digest:[sha256:92d28d80396d5490334847b54c87a38d1bb0f606c8989787c47c208ee45d9ab8] Docker-Distribution-Api-Version:[registry/2.0] Etag:[\"sha256:92d28d80396d5490334847b54c87a38d1bb0f606c8989787c47c208ee45d9ab8\"] X-Content-Type-Options:[nosniff]]" size=153 status="200 OK" url="http://localhost:5000/v2/ecordell/testdeliverance/blobs/sha256:92d28d80396d5490334847b54c87a38d1bb0f606c8989787c47c208ee45d9ab8"
  DEBU[0000] fetch response received                       digest="sha256:d213f9ccc4e47682afb20622d9ad6dc91a6207252cd262c4983947c48beaddef" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip response.headers="map[Accept-Ranges:[bytes] Cache-Control:[max-age=31536000] Content-Length:[8308] Content-Type:[application/octet-stream] Date:[Fri, 11 Oct 2019 20:52:21 GMT] Docker-Content-Digest:[sha256:d213f9ccc4e47682afb20622d9ad6dc91a6207252cd262c4983947c48beaddef] Docker-Distribution-Api-Version:[registry/2.0] Etag:[\"sha256:d213f9ccc4e47682afb20622d9ad6dc91a6207252cd262c4983947c48beaddef\"] X-Content-Type-Options:[nosniff]]" size=8308 status="200 OK" url="http://localhost:5000/v2/ecordell/testdeliverance/blobs/sha256:d213f9ccc4e47682afb20622d9ad6dc91a6207252cd262c4983947c48beaddef"
  DEBU[0000] push                                          digest="sha256:77f6d184053070e89a37284dcf4a312c7f3794c3aec6cd31d7999395e5915a2d" mediatype=application/vnd.docker.distribution.manifest.v2+json size=611
  DEBU[0000] do request                                    digest="sha256:77f6d184053070e89a37284dcf4a312c7f3794c3aec6cd31d7999395e5915a2d" mediatype=application/vnd.docker.distribution.manifest.v2+json request.headers="map[Accept:[application/vnd.docker.distribution.manifest.v2+json, *]]" request.method=HEAD size=611 url="http://localhost:5000/v2/ecordell/testdeliverance/manifests/test"
  DEBU[0000] fetch response received                       digest="sha256:77f6d184053070e89a37284dcf4a312c7f3794c3aec6cd31d7999395e5915a2d" mediatype=application/vnd.docker.distribution.manifest.v2+json response.headers="map[Content-Length:[611] Content-Type:[application/vnd.docker.distribution.manifest.v2+json] Date:[Fri, 11 Oct 2019 20:52:21 GMT] Docker-Content-Digest:[sha256:77f6d184053070e89a37284dcf4a312c7f3794c3aec6cd31d7999395e5915a2d] Docker-Distribution-Api-Version:[registry/2.0] Etag:[\"sha256:77f6d184053070e89a37284dcf4a312c7f3794c3aec6cd31d7999395e5915a2d\"] X-Content-Type-Options:[nosniff]]" size=611 status="200 OK" url="http://localhost:5000/v2/ecordell/testdeliverance/manifests/test"
  Pushed  with digest sha256:77f6d184053070e89a37284dcf4a312c7f3794c3aec6cd31d7999395e5915a2d

deliverance's People

Contributors

ecordell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.