コード例 #1
0
 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
コード例 #2
0
 def __init__(self):
     self.service_db = ServiceDB()
     self.krpc_client = KubernetesRpcClient()
     self.token_driver = TokenDriver()
     self.kuber_driver = KubernetesDriver()
     self.volume = VolumeDriver()
コード例 #3
0
 def __init__(self):
     self.billing_url = conf.BILLING_URL
     self.service_db = ServiceDB()
     self.billing_api = conf.billing_api
コード例 #4
0
 def __init__(self):
     self.service_db = ServiceDB()
     self.kuber = KubernetesDriver()
     self.billing = BillingResource()
     self.token_driver = TokenDriver()
コード例 #5
0
 def __init__(self):
     self.billing = conf.billing_api
     self.service_db = ServiceDB()
コード例 #6
0
 def __init__(self):
     self.recover_driver = RecoverDriver()
     self.service_db = ServiceDB()
     self.billing_driver = BillingDriver()
コード例 #7
0
 def __init__(self):
     self.service_db = ServiceDB()
     self.billing_resource = BillingResource()
コード例 #8
0
 def __init__(self):
     self.metal_work = MetalWork()
     self.k_driver = KubernetesDriver()
     self.service_db = ServiceDB()