cfme.containers.template module¶
-
class
cfme.containers.template.
All
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
TemplateAllView
-
prerequisite
¶ This is a helper descriptor for destinations which are linked to an attribute of the object.
For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.containers.template.
Details
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
TemplateDetailsView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.containers.template.
ImageRegistryEditTags
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
TagPageView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.containers.template.
Template
(name, project_name, provider, appliance=None)[source]¶ Bases:
cfme.common.WidgetasticTaggable
,cfme.containers.provider.Labelable
,cfme.utils.appliance.Navigatable
-
PLURAL
= 'Templates'¶
-
all_view
¶ alias of
TemplateAllView
-
details_view
¶ alias of
TemplateDetailsView
-
classmethod
get_random_instances
(provider, count=1, appliance=None)[source]¶ Generating random instances.
-
mgmt
¶
-
-
class
cfme.containers.template.
TemplateAllView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.containers.provider.ContainerObjectAllBaseView
-
SUMMARY_TEXT
= 'Container Templates'¶
-
entities
¶
-
-
class
cfme.containers.template.
TemplateDetailsView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.containers.provider.ContainerObjectDetailsBaseView