本文整理匯總了Python中oslo_upgradecheck.upgradecheck.main方法的典型用法代碼示例。如果您正苦於以下問題:Python upgradecheck.main方法的具體用法?Python upgradecheck.main怎麽用?Python upgradecheck.main使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類oslo_upgradecheck.upgradecheck
的用法示例。
在下文中一共展示了upgradecheck.main方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
CONF, project='zun', upgrade_command=Checks())
示例2: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
CONF, project='octavia', upgrade_command=Checks())
示例3: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
cfg.CONF, project='freezer-api', upgrade_command=Checks())
示例4: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
config_files = utils.find_config('designate.conf')
checker = Checks()
return upgradecheck.main(
conf=designate.conf.CONF,
project='designate',
upgrade_command=checker,
default_config_files=config_files,
)
示例5: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
cfg.CONF, project='searchlight', upgrade_command=Checks())
示例6: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
CONF, project='magnum', upgrade_command=Checks())
示例7: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
cfg.CONF, project='manila', upgrade_command=Checks())
示例8: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
CONF, project='masakari', upgrade_command=Checks())
示例9: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
cfg.CONF, project='dragonflow', upgrade_command=Checks())
示例10: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
CONF, project='vitrage', upgrade_command=Checks())
示例11: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
conf=CONF,
project='cloudkitty',
upgrade_command=CloudkittyUpgradeChecks(),
)
示例12: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
CONF, project='tacker', upgrade_command=Checks())
示例13: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
CONF, project='watcher', upgrade_command=Checks())
示例14: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
cfg.CONF, project='barbican', upgrade_command=Checks())
示例15: main
# 需要導入模塊: from oslo_upgradecheck import upgradecheck [as 別名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 別名]
def main():
return upgradecheck.main(
cfg.CONF, project='monasca', upgrade_command=Checks())