'Returns the endpoint for the cluster in the realm.'

def endpoint(self, realm, cluster):

    self._reload()
    result = None
    realm_data = self.data.get(realm.upper())
    if realm_data:
        cluster_data = realm_data.get('clusters')
        if cluster_data:
            result = cluster_data.get(cluster.upper())
    return result
