MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / check_cloud_database

Method check_cloud_database

class/databaseModel/base.py:267–278  ·  view source on GitHub ↗

@检查远程数据库是否存在 @conn_config param

(self, args)

Source from the content-addressed store, hash-verified

265 return public.returnMsg(True, '通过!')
266
267 def check_cloud_database(self, args):
268 '''
269 @检查远程数据库是否存在
270 @conn_config param
271 '''
272 p = self.get_databaseModel()
273
274 get = public.dict_obj()
275 get['data'] = args
276 get['mod_name'] = args['type']
277 get['def_name'] = 'check_cloud_database_status'
278 return p.model(get)
279
280 def AddBaseCloudServer(self, get):
281 """

Callers 2

AddBaseCloudServerMethod · 0.95
ModifyBaseCloudServerMethod · 0.95

Calls 2

get_databaseModelMethod · 0.95
modelMethod · 0.45

Tested by

no test coverage detected