The castellan_ui.content.x509_certificates.views Module

The castellan_ui.content.x509_certificates.views Module

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

Bases: horizon.views.HorizonTemplateView

get_context_data(**kwargs)[source]

Gets the context data for key.

page_title = u'X.509 Certificate Details'
template_name = 'x509_certificate_detail.html'
class castellan_ui.content.x509_certificates.views.ImportView(*args, **kwargs)[source]

Bases: horizon.forms.views.ModalFormView

form_class

alias of castellan_ui.content.x509_certificates.forms.ImportX509Certificate

get_form(form_class=None)[source]

Returns an instance of the form to be used in this view.

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 X.509 Certificate'
submit_label = u'Import X.509 Certificate'
submit_url = u'/project/x509_certificates/import/'
success_url = u'/project/x509_certificates/'
template_name = 'x509_certificate_import.html'
class castellan_ui.content.x509_certificates.views.IndexView(*args, **kwargs)[source]

Bases: horizon.tables.views.MultiTableView

get_x509_certificate_data()[source]
table_classes = [<class 'castellan_ui.content.x509_certificates.tables.X509CertificateTable'>]
template_name = 'x509_certificates.html'
castellan_ui.content.x509_certificates.views.download_cert(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.