binder-project/binder-registry-go

Name: binder-registry-go

Owner: Binder

Description: Registry of binder templates

Created: 2015-10-03 02:24:28.0

Updated: 2017-08-18 02:53:39.0

Pushed: 2017-08-18 02:53:37.0

Homepage: https://godoc.org/github.com/binder-project/binder-registry

Size: 48

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

:dash: :dash: The Binder Project is moving to a new repo. :dash: :dash:

:books: Same functionality. Better performance for you. :books:

Over the past few months, we've been improving Binder's architecture and infrastructure. We're retiring this repo as it will no longer be actively developed. Future development will occur under the JupyterHub organization.

Thanks for updating your bookmarked links.

:dash: :dash: The Binder Project is moving to a new repo. :dash: :dash:

Binder Registry

Build Status

CRUD for Binder Templates.

:warning: Prototype :warning:

This is an initial implementation of the registry API from the Binder API spec proposal.

Go get it.
 get github.com/binder-project/binder-registry
Build it.
 $GOPATH/src/github.com/binder-project/binder-registry/simpleregistry
 build
NDER_API_KEY=THISISMYTOKEN ./simpleregistry
/10/07 09:52:48 Serving on :8080
Use it.
rl 127.0.0.1:8080
atus": "Binder Registry Live!"}
rl 127.0.0.1:8080/templates

rl -X POST 127.0.0.1:8080/templates -d '{"name": "myenv", "image-name":"jupyter/demo"}'
ssage":"Authorization header not set. Should be of format 'Authorization: token key'"}
Need the token for POST and PUT
rl -X POST 127.0.0.1:8080/templates -d '{"name": "myenv", "image-name":"jupyter/demo"}' -H "Authorization: token THISISMYTOKEN"
me":"myenv","image-name":"jupyter/demo","command":"","limits":{},"time-created":"2015-10-07T14:54:55.782549453Z","time-modified":"2015-10-07T14:54:55.782549453Z"}

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.