1.0.2 • Published 9 years ago
@marionebl/marathon-node v1.0.2
marathon-node 
Node.js client library for Mesos Marathon's REST API powered by Bluebird promises.
var marathon = require('marathon-node')(MARATHON_URL);
marathon.app
.getList()
.then(console.log)
.catch(console.error);Methods
marathon(url: string, options: object)
Options
options.usernameoptions.password
Apps (marathon.app.methodName)
getList(parameters)getOne(id)getVersions(id)getVersion(id, version)getTasks(id)create(body)update(id, body, force)restart(id, force)destroy(id)killTasks(id, parameters)killTask(id, task, scale)
Groups (marathon.groups.methodName)
Tasks (marathon.tasks.methodName)
Deployments (marathon.deployments.methodName)
Subscriptions (marathon.subscriptions.methodName)
getList()create(callbackUrl)
Queue (marathon.queue.methodName)
Info (marathon.info.methodName)
Miscellaneous (marathon.misc.methodName)
1.0.2
9 years ago