The openstack_dashboard.dashboards.project.containers.views Module
Views for managing Swift containers.
-
class openstack_dashboard.dashboards.project.containers.views.ContainerDetailView(**kwargs)[source]
Bases: horizon.forms.views.ModalFormMixin, django.views.generic.base.TemplateView
-
get_context_data(**kwargs)[source]
-
get_object(*args, **kwargs)[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fdfb05b3f10>
-
template_name = 'project/containers/container_detail.html'
-
class openstack_dashboard.dashboards.project.containers.views.ContainerView(*args, **kwargs)[source]
Bases: horizon.browsers.views.ResourceBrowserView
-
browser_class
alias of ContainerBrowser
-
get_containers_data()[source]
-
get_context_data(**kwargs)[source]
-
get_objects_data()[source]
Returns a list of objects within the current folder.
-
get_subfolders_data()[source]
Returns a list of subfolders within the current folder.
-
is_placeholder(item)[source]
-
is_subdir(item)[source]
-
objects[source]
Returns a list of objects given the subfolder’s path.
The path is from the kwargs of the request.
-
template_name = 'project/containers/index.html'
-
class openstack_dashboard.dashboards.project.containers.views.CopyView[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of CopyObject
-
get_context_data(**kwargs)[source]
-
static get_copy_name(object_name)[source]
-
get_form_kwargs()[source]
-
get_initial()[source]
-
get_success_url()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fdfb05b3f90>
-
success_url = 'horizon:project:containers:index'
-
template_name = 'project/containers/copy.html'
-
class openstack_dashboard.dashboards.project.containers.views.CreatePseudoFolderView[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of CreatePseudoFolder
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_success_url()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fdfb05b3c90>
-
success_url = 'horizon:project:containers:index'
-
template_name = 'project/containers/create_pseudo_folder.html'
-
class openstack_dashboard.dashboards.project.containers.views.CreateView[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of CreateContainer
-
get_initial()[source]
-
get_success_url()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fdfb071dc10>
-
success_url = 'horizon:project:containers:index'
-
template_name = 'project/containers/create.html'
-
class openstack_dashboard.dashboards.project.containers.views.ObjectDetailView(**kwargs)[source]
Bases: horizon.forms.views.ModalFormMixin, django.views.generic.base.TemplateView
-
get_context_data(**kwargs)[source]
-
get_object(*args, **kwargs)[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fdfb05b3f50>
-
template_name = 'project/containers/object_detail.html'
-
class openstack_dashboard.dashboards.project.containers.views.UpdateObjectView[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of UpdateObject
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_success_url()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fdfb05b3ad0>
-
success_url = 'horizon:project:containers:index'
-
template_name = 'project/containers/update.html'
-
class openstack_dashboard.dashboards.project.containers.views.UploadView[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of UploadObject
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_success_url()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fdfb05b3d10>
-
success_url = 'horizon:project:containers:index'
-
template_name = 'project/containers/upload.html'
-
openstack_dashboard.dashboards.project.containers.views.object_download(request, container_name, object_path)[source]