ondrej-smola / mesos-go-http

Go language bindings for Apache Mesos
Apache License 2.0
18 stars 3 forks source link
mesos mesos-go-http

Go HTTP client for Apache Mesos

Goal of this project is to provide low and high level API for Apache Mesos using HTTP API

Build Status

Status

Current state of project is alpha as it needs more adoption/feedback. Users of this library are encouraged to vendor it. API stability isn't guaranteed at this stage.

Requirements

Features

Get started

make
List master tasks
operator master tasks -e http://127.0.0.1:5050/api/v1
Subscribe for master events
operator master event-stream -e http://127.0.0.1:5050/api/v1
Run example scheduler
scheduler -e http://127.0.0.1:5050/api/v1/scheduler --cmd=sleep --arg=15 --tasks=5

Local infrastructure

For easy testing of master failover, agent failure ...

Docker compose

Logging

Project uses [go-kit/log] (https://github.com/go-kit/kit/tree/v0.5.0/log) compatible interfaces for logging

Testing

make install-test-dependencies
make test

Notice

This project uses code from mesos-go licensed under the Apache Licence 2.0

License

This project is Apache License 2.0.