v0/

directory
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2018 License: Apache-2.0

README

Go bindings for Apache Mesos

Very early version of a pure Go language bindings for Apache Mesos. As with other pure implementation, 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.

Status

The Mesos v0 API version of the bindings are considered alpha and won't see any major development besides critical compatibility and bug fixes.

New projects should use the Mesos v1 API bindings, located in api/v1.

Features
  • The SchedulerDriver API implemented
  • The ExecutorDriver API implemented
  • Stable API (based on the core Mesos code)
  • Plenty of unit and integrative of tests
  • Modular design for easy readability/extensibility
  • Example programs on how to use the API
  • Leading master detection
  • Authentication via SASL/CRAM-MD5
Pre-Requisites
  • Go 1.3 or higher
  • A standard and working Go workspace setup
  • Apache Mesos 0.19 or newer

Installing

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

$ go get github.com/mesos/mesos-go

Testing

$ (cd $GOPATH/src/github.com/mesos/mesos-go/api/v0; go test -race ./...)

Directories

Path Synopsis
The detector package houses implementation of master detectors.
The detector package houses implementation of master detectors.
zoo
Zookeeper-based mesos-master leaderhip detection.
Zookeeper-based mesos-master leaderhip detection.
examples
Godeps/_workspace/src/github.com/gogo/protobuf/proto
Package proto converts data structures to and from the wire format of protocol buffers.
Package proto converts data structures to and from the wire format of protocol buffers.
Godeps/_workspace/src/github.com/gogo/protobuf/proto/proto3_proto
Package proto3_proto is a generated protocol buffer package.
Package proto3_proto is a generated protocol buffer package.
Godeps/_workspace/src/github.com/golang/glog
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
Godeps/_workspace/src/github.com/pborman/uuid
The uuid package generates and inspects UUIDs.
The uuid package generates and inspects UUIDs.
Godeps/_workspace/src/github.com/stretchr/objx
objx - Go package for dealing with maps, slices, JSON and other data.
objx - Go package for dealing with maps, slices, JSON and other data.
Godeps/_workspace/src/github.com/stretchr/testify/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
Godeps/_workspace/src/github.com/stretchr/testify/mock
Provides a system by which it is possible to mock your objects and verify calls are happening as expected.
Provides a system by which it is possible to mock your objects and verify calls are happening as expected.
Godeps/_workspace/src/golang.org/x/net/context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
Godeps/_workspace/src/golang.org/x/net/context/ctxhttp
Package ctxhttp provides helper functions for performing context-aware HTTP requests.
Package ctxhttp provides helper functions for performing context-aware HTTP requests.
Package executor includes the interfaces of the mesos executor and the mesos executor driver, as well as an implementation of the driver.
Package executor includes the interfaces of the mesos executor and the mesos executor driver, as well as an implementation of the driver.
Package mesosproto is a generated protocol buffer package.
Package mesosproto is a generated protocol buffer package.
scheduler
Package scheduler is a generated protocol buffer package.
Package scheduler is a generated protocol buffer package.
Package messenger includes a messenger and a transporter.
Package messenger includes a messenger and a transporter.
testmessage
Package testmessage is a generated protocol buffer package.
Package testmessage is a generated protocol buffer package.
Package scheduler includes the interfaces for the mesos scheduler and the mesos executor driver.
Package scheduler includes the interfaces for the mesos scheduler and the mesos executor driver.
Collection of resources for teting mesos artifacts.
Collection of resources for teting mesos artifacts.
Package upid defines the UPID type and some utilities of the UPID.
Package upid defines the UPID type and some utilities of the UPID.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL