How to use the cruise-control-client.cruisecontrolclient.client.Endpoint.AbstractEndpoint.__init__ function in cruise-control-client

To help you get started, we’ve selected a few cruise-control-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github linkedin / cruise-control / cruise-control-client / cruisecontrolclient / client / Endpoint.py View on Github external
def __init__(self, broker_ids: Union[str, List[str]]):
        AbstractEndpoint.__init__(self)
        self.add_param("brokerid", broker_ids)
github linkedin / cruise-control / cruise-control-client / cruisecontrolclient / client / Endpoint.py View on Github external
def __init__(self):
        AbstractEndpoint.__init__(self)
        # Note that we most often want the executor substate, so set that
        # as a default parameter
        self.add_param("substates", "executor")
github linkedin / cruise-control / cruise-control-client / cruisecontrolclient / client / Endpoint.py View on Github external
def __init__(self, broker_ids: Union[str, List[str]]):
        AbstractEndpoint.__init__(self)
        self.add_param("brokerid", broker_ids)
github linkedin / cruise-control / cruise-control-client / cruisecontrolclient / client / Endpoint.py View on Github external
def __init__(self, broker_ids: Union[str, List[str]]):
        AbstractEndpoint.__init__(self)
        self.add_param("brokerid", broker_ids)