def __init__(self): self.recover_url = conf.recover_url self.billing_url = conf.BILLING_URL self.recover_login = conf.recover_login self.user = conf.user self.password = base64.decodestring(conf.password) self.service_db = ServiceDB() self.rpc_client = KubernetesRpc() self.operate = DbOperate() self.k8s_url = conf.k8s_api
def __init__(self): self.service_db = ServiceDB() self.krpc_client = KubernetesRpcClient() self.token_driver = TokenDriver() self.kuber_driver = KubernetesDriver() self.volume = VolumeDriver()
def __init__(self): self.billing_url = conf.BILLING_URL self.service_db = ServiceDB() self.billing_api = conf.billing_api
def __init__(self): self.service_db = ServiceDB() self.kuber = KubernetesDriver() self.billing = BillingResource() self.token_driver = TokenDriver()
def __init__(self): self.billing = conf.billing_api self.service_db = ServiceDB()
def __init__(self): self.recover_driver = RecoverDriver() self.service_db = ServiceDB() self.billing_driver = BillingDriver()
def __init__(self): self.service_db = ServiceDB() self.billing_resource = BillingResource()
def __init__(self): self.metal_work = MetalWork() self.k_driver = KubernetesDriver() self.service_db = ServiceDB()