Home

Awesome

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

docker-compose up -d

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.