当前位置: 首页>>代码示例>>Python>>正文


Python Navigatable.__init__方法代码示例

本文整理汇总了Python中cfme.utils.appliance.Navigatable.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Navigatable.__init__方法的具体用法?Python Navigatable.__init__怎么用?Python Navigatable.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在cfme.utils.appliance.Navigatable的用法示例。


在下文中一共展示了Navigatable.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, name, group, title=None, locked=None, widgets=None, appliance=None):
     Navigatable.__init__(self, appliance)
     self.name = name
     self.title = title
     self.locked = locked
     self.widgets = widgets
     self._group = group
开发者ID:akarol,项目名称:cfme_tests,代码行数:9,代码来源:dashboards.py

示例2: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, name=None, url=None, ssl=None, credentials=None, key=None, appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.name = name
     self.url = url
     self.ssl = ssl
     self.credentials = credentials
     self.key = key or name
开发者ID:mkoura,项目名称:cfme_tests,代码行数:9,代码来源:config_management.py

示例3: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, url=None, username=None, password=None, verify_ssl=None, appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.url = url
     self.username = username
     self.password = password
     self.verify_ssl = verify_ssl
     self.domain = None
开发者ID:lcouzens,项目名称:cfme_tests,代码行数:9,代码来源:import_export.py

示例4: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, path_to_report, run_datetime, queued_datetime, candu=False, appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.path = path_to_report
     self.datetime = run_datetime
     self.candu = candu
     self.queued_datetime_in_title = parsetime.from_american_with_utc(
         queued_datetime).to_saved_report_title_format()
     self.datetime_in_tree = parsetime.from_american_with_utc(self.datetime).to_iso_with_utc()
开发者ID:jkandasa,项目名称:integration_tests,代码行数:10,代码来源:reports.py

示例5: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, description=None, scope=None, days=None, hours=None, timezone=None,
              appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.description = description
     self.scope = scope
     self.days = days
     self.hours = hours
     self.timezone = timezone
开发者ID:hhovsepy,项目名称:cfme_tests,代码行数:10,代码来源:settings.py

示例6: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, template_type=None, template_name=None, description=None,
              draft=None, content=None, appliance=None):
     Navigatable.__init__(self, appliance)
     self.template_type = template_type
     self.template_name = template_name
     self.description = description
     self.draft = draft
     self.content = content
开发者ID:hhovsepy,项目名称:cfme_tests,代码行数:10,代码来源:orchestration_template.py

示例7: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, name, provider, template_name=None, appliance=None):
     super(BaseVM, self).__init__()
     Navigatable.__init__(self, appliance=appliance)
     if type(self) in {BaseVM, VM, Template}:
         raise NotImplementedError('This class cannot be instantiated.')
     self.name = name
     self.provider = provider
     self.template_name = template_name
开发者ID:LandoCalrizzian,项目名称:cfme_tests,代码行数:10,代码来源:vm.py

示例8: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, name, description, provisioning, display_in_catalog=None, catalog=None,
         retirement=None, appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.name = name
     self.description = description
     self.display_in_catalog = display_in_catalog
     self.catalog = catalog
     self.provisioning = provisioning
     self.retirement = retirement
开发者ID:akarol,项目名称:cfme_tests,代码行数:11,代码来源:ansible_catalog_item.py

示例9: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, name=None, display_name=None, description=None, show_in_console=True,
              single_value=True, capture_candu=False, appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.name = name
     self.display_name = display_name
     self.description = description
     self.show_in_console = show_in_console
     self.single_value = single_value
     self.capture_candu = capture_candu
开发者ID:jkandasa,项目名称:integration_tests,代码行数:11,代码来源:region_settings.py

示例10: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, appliance, catalog=None, name=None, stack_data=None,
              dialog_values=None, ansible_dialog_values=None):
     Navigatable.__init__(self, appliance=appliance)
     self.catalog = catalog
     self.name = name
     self.stack_data = stack_data
     self.dialog_values = dialog_values
     self.ansible_dialog_values = ansible_dialog_values
     self.parent = self.appliance.context
开发者ID:apagac,项目名称:cfme_tests,代码行数:11,代码来源:__init__.py

示例11: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, description=None,
              currency=None,
              fields=None,
              appliance=None,
              ):
     Navigatable.__init__(self, appliance=appliance)
     self.description = description
     self.currency = currency
     self.fields = fields
开发者ID:jkandasa,项目名称:integration_tests,代码行数:11,代码来源:rates.py

示例12: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, assign_to=None,
              tag_category=None,
              docker_labels=None,
              selections=None,
              appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.assign_to = assign_to
     self.tag_category = tag_category
     self.docker_labels = docker_labels
     self.selections = selections
开发者ID:hhovsepy,项目名称:cfme_tests,代码行数:12,代码来源:assignments.py

示例13: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(
         self, name=None, endpoints=None, key=None, zone=None, provider_data=None,
         appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.name = name
     self.endpoints = self._prepare_endpoints(endpoints)
     self.key = key
     self.provider_data = provider_data
     self.zone = zone
     self.template_name = "Templates"
开发者ID:jkandasa,项目名称:integration_tests,代码行数:12,代码来源:__init__.py

示例14: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, diag_type, name=None, description=None, content=None, appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.name = name
     self.description = description
     self.content = content
     if diag_type in self.ALLOWED_TYPES:
         self.diag_type = diag_type
     else:
         raise TypeError('Type must be one of ProvisioningDialog constants: {}'
                         .format(self.ALLOWED_TYPES))
开发者ID:akarol,项目名称:cfme_tests,代码行数:12,代码来源:provisioning_dialogs.py

示例15: __init__

# 需要导入模块: from cfme.utils.appliance import Navigatable [as 别名]
# 或者: from cfme.utils.appliance.Navigatable import __init__ [as 别名]
 def __init__(self, text=None, hover=None, type=None, image=None, appliance=None):
     Navigatable.__init__(self, appliance=appliance)
     self.text = text
     self.hover = hover
     self.type = type
     if image:
         self.image = image
     elif self.appliance.version < '5.9':
         self.image = 'Button Image 1'
     else:
         self.image = 'fa-user'
开发者ID:jkandasa,项目名称:integration_tests,代码行数:13,代码来源:buttons.py


注:本文中的cfme.utils.appliance.Navigatable.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。