Module ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListComp ListComp Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Return ListComp NameLoad comprehension NameStore NameLoad comprehension NameStore NameLoad decorator_list NameLoad decorator_list
N/A base MarathonObject MarathonEndpoint N/A MarathonObject N/A N/A Marathon Endpoint helper object for service discovery. It describes a single port mapping for a running task.

    :param str app_id: application id
    :param str host: mesos slave running the task
    :param str task_id: task id
    :param int service_port: application service port
    :param int task_port: port allocated on the slave
     __repr__ N/A N/A self N/A N/A N/A N/A N/A {clazz}::{app_id}::{service_port}::{task_id}::{task_port} format clazz N/A N/A self __class__ __name__ app_id N/A self app_id service_port N/A self service_port task_id N/A self task_id task_port N/A self task_port N/A __init__ N/A N/A self app_id service_port host task_id task_port N/A None None None None None N/A N/A N/A self app_id app_id N/A N/A self service_port service_port N/A N/A self host host N/A N/A self task_id task_id N/A N/A self task_port task_port N/A from_tasks N/A N/A cls tasks N/A N/A N/A Construct a list of MarathonEndpoints from a list of tasks.

        :param list[:class:`marathon.models.MarathonTask`] tasks: list of tasks to parse

        :rtype: list[:class:`MarathonEndpoint`]
         N/A endpoints N/A N/A N/A MarathonEndpoint N/A task app_id N/A N/A task service_ports N/A port_index N/A task host N/A task id port N/A N/A port_index port N/A enumerate N/A task ports N/A task tasks N/A N/A item N/A sublist endpoints N/A item sublist N/A classmethod N/A