def _get_plan_status(self, service_name, plan): response = requests.get(get_base_url() + "/service" + service_name + "v1/plans/%s" % plan, auth=get_auth(), verify=False) if response.ok: return response.json()["status"] else: return None
def has_plans_api(self, service_name): if service_name[0] == "/": service_name = service_name[1:] response = requests.get(get_base_url() + "/service/" + service_name + "/v1/plans/", auth=get_auth(), verify=False) if response.ok: return True else: return False
def __init__(self): self.base_url = get_base_url() + "/secrets/v1/" self._cache_secrets_list = None
def __init__(self): self.base_url = get_base_url() self.mesos_url = self.base_url + "/mesos/"
def __init__(self): self.base_url = get_base_url() + "/ca/api/v2/"
def __init__(self): self.base_url = get_base_url() + "/service/edgelb/"
def __init__(self): self.service_url = get_base_url() + "/cosmos/service" self.package_url = get_base_url() + "/package"
def __init__(self): self.marathon_url = get_base_url() + "/service/marathon/v2"
def __init__(self): self.metronome_url = get_base_url() + "/service/metronome/"
def __init__(self): self.base_url = get_base_url() + "/acs/api/v1"
def __init__(self): self.base_url = get_base_url()
def __init__(self): self.base_url = get_base_url() + "/secrets/v1/"