meson.client.protocols.master

Collects methods that are specific to the master and not contained in any of the meson.client.protocols.common protocols.

See: http://mesos.apache.org/documentation/latest/endpoints/

IMaster

protocol

members

bring-down-machines

(bring-down-machines this machines)

Transitions the list of machines into DOWN mode. Currently, only machines in DRAINING mode are allowed to be brought down.

See: http://mesos.apache.org/documentation/latest/endpoints/master/machine/up/

bring-up-machines

(bring-up-machines this machines)

Transitions the list of machines into UP mode. This also removes the list of machines from the maintenance schedule.

See: http://mesos.apache.org/documentation/latest/endpoints/master/machine/up/

create-volumes

(create-volumes this agent-id volumes)

Create persistent volumes on reserved resources.

See: http://mesos.apache.org/documentation/latest/endpoints/master/create-volumes/

destroy-volumes

(destroy-volumes this agent-id volumes)

get-agents

(get-agents this)

get-frameworks

(get-frameworks this)

get-maintenance-schedule

(get-maintenance-schedule this)

get-maintenance-status

(get-maintenance-status this)

Retrieves the maintenance status of the cluster.

See: http://mesos.apache.org/documentation/latest/endpoints/master/maintenance/status/

get-quota

(get-quota this)

Returns the currently set quotas as JSON.

See: http://mesos.apache.org/documentation/latest/endpoints/master/quota/

get-registry

(get-registry this)

Returns the current contents of the Registry in JSON.

See: http://mesos.apache.org/documentation/latest/endpoints/registrar/registry/

get-roles

(get-roles this)

get-state-summary

(get-state-summary this)

Summary of state of all tasks and registered frameworks in cluster.

See: http://mesos.apache.org/documentation/latest/endpoints/master/state-summary/

get-tasks

(get-tasks this)(get-tasks this limit offset order)

Lists tasks from all active frameworks. If limit, offset, and order are not provided, the defaults of 100, 0, and :descending are used, respectively.

See: http://mesos.apache.org/documentation/latest/endpoints/master/tasks/

redirect

(redirect this)

remove-quota

(remove-quota this role)

reserve

(reserve this agent-id resources)

Reserve resources dynamically on a specific agent.

See: http://mesos.apache.org/documentation/latest/endpoints/master/reserve/

set-quota

(set-quota this role)

teardown-framework

(teardown-framework this framework-id)

Tears down a running framework by shutting down all tasks/executors and removing the framework.

See: http://mesos.apache.org/documentation/latest/endpoints/master/unreserve/

unreserve

(unreserve this agent-id resources)

Unreserve resources dynamically on a specific agent.

See: http://mesos.apache.org/documentation/latest/endpoints/master/unreserve/

update-maintenance-scheduler

(update-maintenance-scheduler this)

update-role-weights

(update-role-weights this data)