The castellan_ui.content.symmetric_keys.views Module

The castellan_ui.content.symmetric_keys.views Module

class castellan_ui.content.symmetric_keys.views.DetailView(**kwargs)[source]

Bases: horizon.views.HorizonTemplateView

get_context_data(**kwargs)[source]

Gets the context data for key.

page_title = u'Symmetric Key Details'
template_name = 'symmetric_key_detail.html'
class castellan_ui.content.symmetric_keys.views.GenerateView(*args, **kwargs)[source]

Bases: horizon.forms.views.ModalFormView

form_class

alias of castellan_ui.content.symmetric_keys.forms.GenerateSymmetricKey

page_title = u'Generate Symmetric Key'
submit_label = u'Generate Symmetric Key'
submit_url = u'/project/symmetric_keys/generate/'
success_url = u'/project/symmetric_keys/'
template_name = 'symmetric_key_generate.html'
class castellan_ui.content.symmetric_keys.views.ImportView(*args, **kwargs)[source]

Bases: horizon.forms.views.ModalFormView

form_class

alias of castellan_ui.content.symmetric_keys.forms.ImportSymmetricKey

get_object_id(key_uuid)[source]

Returns the ID of the created object.

For dynamic insertion of resources created in modals, this method returns the id of the created object. Defaults to returning the id attribute.

page_title = u'Import Symmetric Key'
submit_label = u'Import Symmetric Key'
submit_url = u'/project/symmetric_keys/import/'
success_url = u'/project/symmetric_keys/'
template_name = 'symmetric_key_import.html'
class castellan_ui.content.symmetric_keys.views.IndexView(*args, **kwargs)[source]

Bases: horizon.tables.views.MultiTableView

get_symmetric_key_data()[source]
table_classes = [<class 'castellan_ui.content.symmetric_keys.tables.SymmetricKeyTable'>]
template_name = 'symmetric_keys.html'
castellan_ui.content.symmetric_keys.views.download_key(request, object_id)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.