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 |
---|---|
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. |
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. |
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.