Documentation ¶
Overview ¶
Package v1 contains library and example subpackages for working with the Mesos v1 HTTP API. Clients should not consume this package directly.
Library ¶
The v1 API is accessible via the "lib" subpackage. Consumers should import "github.com/mesos/mesos-go/api/v1/lib" and refer to its funcs and types via the "mesos" package, for example `mesos.Resource`.
Examples ¶
See subpackage "cmd" for sample frameworks. See directory "docker" for an illustration of framework deployment via Docker and Marathon.
Directories ¶
Path | Synopsis |
---|---|
msh
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. |
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. |
agent
Package agent is a generated protocol buffer package.
|
Package agent is a generated protocol buffer package. |
allocator
Package allocator is a generated protocol buffer package.
|
Package allocator is a generated protocol buffer package. |
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. |
executor
Package executor is a generated protocol buffer package.
|
Package executor is a generated protocol buffer package. |
maintenance
Package maintenance is a generated protocol buffer package.
|
Package maintenance is a generated protocol buffer package. |
master
Package master is a generated protocol buffer package.
|
Package master is a generated protocol buffer package. |
quota
Package quota is a generated protocol buffer package.
|
Package quota is a generated protocol buffer package. |
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. |
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.