meson.client.master.scheduler

Documentation forthcoming

->client

(->client)(->client fields)

A factory for the Scheduler client which takes a map as an arguement. If no map is provided, the default value of scheduler/client-fields is passed. Additionally, if no value for the event-conn and cmd-conn connections fields is provided, default connections are created.

client-behaviour

Documentation forthcoming

client-fields

Documentation forthcoming

SchedulerAPI

protocol

The scheduler interacts with Mesos via the /api/v1/scheduler master endpoint. This endpoint accepts HTTP POST requests with data encoded as JSON, Content-Type: application/json, or binary Protobuf, Content-Type: application/x-protobuf.

members

get-context

(get-context this)

Get the context for this client, calculated using :base-path and :version.

get-url

(get-url this path)

Get the context-based url for the client.

subscribe

(subscribe this data)

This is the first step in the communication process between the scheduler and the master. This is also to be considered as subscription to the “/scheduler” events stream.