Awesome
marathonclj
A simple Clojure client for the marathon rest api
Usage
(def docker-container
(json/read-str (slurp "resources/docker_example.json") :key-fn keyword))
(c/init! (Connection. "http://10.141.141.10:8080" {}))
(apps/create-app docker-container)
(deployments/get-deployments)
(apps/get-apps)
(pp/pprint (->> (apps/get-apps)
:apps
first))
(info/server-info)
(apps/delete-app "instance1")
##Artifacts
Implemented so far
- crud-app operations
- version(s)
- restart
- task(s)
- metrics
- groups
- tasks
- deployments
- event subscriptions
- queue
- info
##TODO
- missing api (0.9 -> #1801)
- some doc
- more tests
License
Copyright © 2015 FIXME
Licensed under the Eclipse Public License (the same as Clojure)