Skip to content

mesos/mesos-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go bindings for Apache Mesos

Pure Go language bindings for Apache Mesos, under development. As with other pure implementations, mesos-go uses the HTTP wire protocol to communicate directly with a running Mesos master and its slave instances. One of the objectives of this project is to provide an idiomatic Go API that makes it super easy to create Mesos frameworks using Go.

Build Status GoDoc Coverage Status

Status

New projects should use the Mesos v1 API bindings, located in api/v1. Unless otherwise indicated, the remainder of this README describes the Mesos v1 API implementation.

Please vendor this library to avoid unpleasant surprises via go get ....

The Mesos v0 API version of the bindings, located in api/v0, are more mature but will not see any major development besides critical compatibility and bug fixes.

Compatibility

mesos-N tags mark the start of support for a specific Mesos version while maintaining backwards compatibility with the previous major version.

Features

  • The SchedulerDriver API implemented
  • The ExecutorDriver API implemented
  • Example programs on how to use the API
  • Modular design for easy readability/extensibility

Pre-Requisites

Installing

Users of this library are encouraged to vendor it. API stability isn't guaranteed at this stage.

# download the source code
$ go get -d github.com/mesos/mesos-go

# build the example binaries
$ cd $GOPATH/src/github.com/mesos/mesos-go
$ make install

Testing

$ make test

Contributing

Contributions are welcome. Please refer to CONTRIBUTING.md for guidelines.

License

This project is Apache License 2.0.