當前位置: 首頁>>代碼示例>>Python>>正文


Python upgradecheck.main方法代碼示例

本文整理匯總了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()) 
開發者ID:openstack,項目名稱:zun,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:octavia,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:freezer-api,代碼行數:5,代碼來源:status.py

示例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,
    ) 
開發者ID:openstack,項目名稱:designate,代碼行數:11,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:searchlight,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:magnum,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:manila,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:masakari,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:dragonflow,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:vitrage,代碼行數:5,代碼來源:status.py

示例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(),
    ) 
開發者ID:openstack,項目名稱:cloudkitty,代碼行數:8,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:tacker,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:watcher,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:barbican,代碼行數:5,代碼來源:status.py

示例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()) 
開發者ID:openstack,項目名稱:monasca-api,代碼行數:5,代碼來源:status.py


注:本文中的oslo_upgradecheck.upgradecheck.main方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。