cfme.containers.image module¶
-
class
cfme.containers.image.
All
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
ImageAllView
-
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.image.
Details
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
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.image.
Image
(name, image_id, provider, appliance=None)[source]¶ Bases:
cfme.common.Taggable
,cfme.containers.provider.Labelable
,cfme.common.SummaryMixin
,cfme.utils.appliance.Navigatable
,cfme.common.PolicyProfileAssignable
-
PLURAL
= 'Container Images'¶
-
check_compliance
(wait_for_finish=True, timeout=240)[source]¶ Initiates compliance check and waits for it to finish.
-
compliance_status
¶
-
compliant
¶ Check if the image is compliant
Returns: NoneType
if the image was never verified, otherwisebool
-
get_detail
(*ident)[source]¶ Gets details from the details infoblock :param *ident: Table name and Key name, e.g. “Relationships”, “Images”
Returns: A string representing the contents of the summary’s value.
-
classmethod
get_random_instances
(provider, count=1, appliance=None, docker_only=False)[source]¶ Generating random instances. (docker_only: means for docker images only)
-
mgmt
¶
-
perform_smartstate_analysis
(wait_for_finish=False, timeout='7M')[source]¶ Performing SmartState Analysis on this Image
-
sha256
¶
-
-
class
cfme.containers.image.
ImageAllView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.containers.provider.ContainerObjectAllBaseView
-
TITLE_TEXT
= 'Container Images'¶
-
configuration
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
entities
¶
-