airgun.views.lifecycleenvironment¶
Module Contents¶
-
class
airgun.views.lifecycleenvironment.LCEView¶ Bases:
airgun.views.common.BaseLoggedInView,widgetastic.widget.ParametrizedView-
class
lce¶ Bases:
widgetastic.widget.ParametrizedView-
ROOT¶
-
PARAMETERS= ['lce_name']¶
-
LAST_ENV= //div[@ng-repeat='path in paths']//table//th[last()]¶
-
current_env¶
-
envs_table¶
-
new_child¶
-
classmethod
all(cls, browser)¶ Helper method which returns list of tuples with all available LCE names (last available environment is used as a name). It’s required for
read()to work properly.
-
read(self)¶ Returns content views and count hosts count per each available lifecycle environment We get dictionary in next format:
{ 'LCE_1': {'Content Views': 0, 'Content Hosts': 1}, 'LCE_2': {'Content Views': 1, 'Content Hosts': 2}, }
-
-
title¶
-
new_path¶
-
edit_parent_env¶
-
parent_env_cvs_count¶
-
parent_env_products_count¶
-
parent_env_products_errata¶
-
is_displayed¶
-
class
-
class
airgun.views.lifecycleenvironment.LCECreateView¶ Bases:
airgun.views.common.BaseLoggedInView-
name¶
-
label¶
-
description¶
-
submit¶
-
is_displayed¶
-
-
class
airgun.views.lifecycleenvironment.LCEEditView¶ Bases:
airgun.views.common.BaseLoggedInView-
class
details¶ Bases:
airgun.views.common.SatTab-
name¶
-
label¶
-
description¶
-
unauthenticated_pull¶
-
registry_name_pattern¶
-
-
class
content_views¶ Bases:
airgun.views.common.SatTab,airgun.views.common.SearchableViewMixin-
TAB_NAME= Content Views¶
-
resources¶
-
-
class
packages¶ Bases:
airgun.views.common.SatTab-
cv_filter¶
-
repo_filter¶
-
searchbox¶
-
table¶
-
search(self, query, cv=None, repo=None)¶ Apply available filters before proceeding with searching.
Parameters: Returns: list of dicts representing table rows
Return type:
-
-
class
puppet_modules¶ Bases:
airgun.views.common.SatTab-
TAB_NAME= Puppet Modules¶
-
cv_filter¶
-
searchbox¶
-
table¶
-
-
class
module_streams¶ Bases:
airgun.views.common.SatTab-
TAB_NAME= Module Streams¶
-
cv_filter¶
-
repo_filter¶
-
searchbox¶
-
table¶
-
search(self, query, cv=None, repo=None)¶ Apply available filters before proceeding with searching.
Parameters: Returns: list of dicts representing table rows
Return type:
-
-
remove¶
-
is_displayed¶
-
class