 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package api presents two independently developed and maintained Mesos API implementations. Clients should not consume this package directly.
v0
The "v0" subpackage has been tested for compatibility with the Mesos v0.2x release series and utilizes the "unversioned" or "v0" libprocess-based API presented by Mesos. Support for the v0 API is on life-support and only critical bug fixes may be addressed. All current and future development effort focuses on the v1 Mesos API.
v1
The "v1" subpackage is compatible with the Mesos v1.x release series and utilizes the v1 HTTP API presented by Mesos. This is the recommended library to use for Mesos framework development.
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| v0
       | |
| 
          
            detector
            
            
          
           The detector package houses implementation of master detectors. | The detector package houses implementation of master detectors. | 
| 
          
            detector/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. | 
| 
          
            examples/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. | 
| 
          
            examples/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. | 
| 
          
            examples/Godeps/_workspace/src/github.com/pborman/uuid
            
            
          
           The uuid package generates and inspects UUIDs. | The uuid package generates and inspects UUIDs. | 
| 
          
            examples/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. | 
| 
          
            examples/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. | 
| 
          
            examples/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. | 
| 
          
            examples/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. | 
| 
          
            examples/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. | 
| 
          
            examples/executor
            
            command
          
          
         | |
| 
          
            examples/flagcheck
            
            command
          
          
         | |
| 
          
            examples/persistent_scheduler
            
            command
          
          
         | |
| 
          
            examples/scheduler
            
            command
          
          
         | |
| 
          
            examples/zkdetect
            
            command
          
          
         | |
| 
          
            executor
            
            
          
           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. | 
| 
          
            mesosproto
            
            
          
           Package mesosproto is a generated protocol buffer package. | Package mesosproto is a generated protocol buffer package. | 
| 
          
            mesosproto/scheduler
            
            
          
           Package scheduler is a generated protocol buffer package. | Package scheduler is a generated protocol buffer package. | 
| 
          
            messenger
            
            
          
           Package messenger includes a messenger and a transporter. | Package messenger includes a messenger and a transporter. | 
| 
          
            messenger/testmessage
            
            
          
           Package testmessage is a generated protocol buffer package. | Package testmessage is a generated protocol buffer package. | 
| 
          
            scheduler
            
            
          
           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. | 
| 
          
            testutil
            
            
          
           Collection of resources for teting mesos artifacts. | Collection of resources for teting mesos artifacts. | 
| 
          
            upid
            
            
          
           Package upid defines the UPID type and some utilities of the UPID. | Package upid defines the UPID type and some utilities of the UPID. | 
| Package v1 contains library and example subpackages for working with the Mesos v1 HTTP API. | Package v1 contains library and example subpackages for working with the Mesos v1 HTTP API. | 
| 
          
            cmd/example-executor
            
            command
          
          
         | |
| 
          
            cmd/example-scheduler
            
            command
          
          
         | |
| 
          
            cmd/msh
            
            command
          
           msh is a minimal mesos v1 scheduler; it executes a shell command on a mesos agent. | msh is a minimal mesos v1 scheduler; it executes a shell command on a mesos agent. | 
| 
          
            cmd/mwatch
            
            command
          
          
         | |
| 
          
            lib
            
            
          
           Package mesos presents common v1 HTTP API message types in addition to extension APIs that aim to simplify use of the machine-generated code. | Package mesos presents common v1 HTTP API message types in addition to extension APIs that aim to simplify use of the machine-generated code. | 
| 
          
            lib/agent
            
            
          
           Package agent is a generated protocol buffer package. | Package agent is a generated protocol buffer package. | 
| 
          
            lib/allocator
            
            
          
           Package allocator is a generated protocol buffer package. | Package allocator is a generated protocol buffer package. | 
| 
          
            lib/encoding/proto
            
            
          
           Package proto implements protobuf utilities such as functional options to construct complex structs and encoders and decoders composable with io.ReadWriters. | Package proto implements protobuf utilities such as functional options to construct complex structs and encoders and decoders composable with io.ReadWriters. | 
| 
          
            lib/executor
            
            
          
           Package executor is a generated protocol buffer package. | Package executor is a generated protocol buffer package. | 
| 
          
            lib/maintenance
            
            
          
           Package maintenance is a generated protocol buffer package. | Package maintenance is a generated protocol buffer package. | 
| 
          
            lib/master
            
            
          
           Package master is a generated protocol buffer package. | Package master is a generated protocol buffer package. | 
| 
          
            lib/quota
            
            
          
           Package quota is a generated protocol buffer package. | Package quota is a generated protocol buffer package. | 
| 
          
            lib/recordio
            
            
          
           Package recordio implements the Mesos variant of RecordIO framing, whereby each record is prefixed by a line that indicates the length of the record in decimal ASCII. | Package recordio implements the Mesos variant of RecordIO framing, whereby each record is prefixed by a line that indicates the length of the record in decimal ASCII. | 
| 
          
            lib/scheduler
            
            
          
           Package scheduler is a generated protocol buffer package. | Package scheduler is a generated protocol buffer package. | 
 Click to show internal directories. 
   Click to hide internal directories.