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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
: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.
CRUD for Binder Templates.
:warning: Prototype :warning:
This is an initial implementation of the registry API from the Binder API spec proposal.
get github.com/binder-project/binder-registry
$GOPATH/src/github.com/binder-project/binder-registry/simpleregistry
build
NDER_API_KEY=THISISMYTOKEN ./simpleregistry
/10/07 09:52:48 Serving on :8080
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"}