mesos_api.unversioned package

Submodules

mesos_api.unversioned.agent module

Defines methods that call the unversioned Mesos HTTP endpoints

mesos_api.unversioned.agent.get_agent_resources(master, agent_ids)

Returns the total resources for each of the given agents

Parameters:
  • master (util.host.HostAddress) – The address for the Mesos master
  • agent_ids (set) – The set of agent IDs
Returns:

The total resources for each agent stored by agent ID

Return type:

dict

Module contents