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

ContainerDetailView.get_context_data(**kwargs)[source]
ContainerDetailView.get_object(*args, **kwargs)[source]
ContainerDetailView.template_name = 'project/containers/container_detail.html'
class openstack_dashboard.dashboards.project.containers.views.ContainerView(*args, **kwargs)[source]

Bases: horizon.browsers.views.ResourceBrowserView

ContainerView.browser_class

alias of ContainerBrowser

ContainerView.get_containers_data()[source]
ContainerView.get_context_data(**kwargs)[source]
ContainerView.get_objects_data()[source]

Returns a list of objects within the current folder.

ContainerView.get_subfolders_data()[source]

Returns a list of subfolders within the current folder.

ContainerView.is_placeholder(item)[source]
ContainerView.is_subdir(item)[source]
ContainerView.objects[source]

Decorator that converts a method with a single self argument into a property cached on the instance.

ContainerView.template_name = 'project/containers/index.html'
class openstack_dashboard.dashboards.project.containers.views.CopyView(**kwargs)[source]

Bases: horizon.forms.views.ModalFormView

CopyView.form_class

alias of CopyObject

CopyView.get_context_data(**kwargs)[source]
CopyView.get_form_kwargs()[source]
CopyView.get_initial()[source]
CopyView.get_success_url()[source]
CopyView.success_url = 'horizon:project:containers:index'
CopyView.template_name = 'project/containers/copy.html'
class openstack_dashboard.dashboards.project.containers.views.CreatePseudoFolderView(**kwargs)[source]

Bases: horizon.forms.views.ModalFormView

CreatePseudoFolderView.form_class

alias of CreatePseudoFolder

CreatePseudoFolderView.get_context_data(**kwargs)[source]
CreatePseudoFolderView.get_initial()[source]
CreatePseudoFolderView.get_success_url()[source]
CreatePseudoFolderView.success_url = 'horizon:project:containers:index'
CreatePseudoFolderView.template_name = 'project/containers/create_pseudo_folder.html'
class openstack_dashboard.dashboards.project.containers.views.CreateView(**kwargs)[source]

Bases: horizon.forms.views.ModalFormView

CreateView.form_class

alias of CreateContainer

CreateView.get_initial()[source]
CreateView.get_success_url()[source]
CreateView.success_url = 'horizon:project:containers:index'
CreateView.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

ObjectDetailView.get_context_data(**kwargs)[source]
ObjectDetailView.get_object(*args, **kwargs)[source]
ObjectDetailView.template_name = 'project/containers/object_detail.html'
class openstack_dashboard.dashboards.project.containers.views.UpdateObjectView(**kwargs)[source]

Bases: horizon.forms.views.ModalFormView

UpdateObjectView.form_class

alias of UpdateObject

UpdateObjectView.get_context_data(**kwargs)[source]
UpdateObjectView.get_initial()[source]
UpdateObjectView.get_success_url()[source]
UpdateObjectView.success_url = 'horizon:project:containers:index'
UpdateObjectView.template_name = 'project/containers/update.html'
class openstack_dashboard.dashboards.project.containers.views.UploadView(**kwargs)[source]

Bases: horizon.forms.views.ModalFormView

UploadView.form_class

alias of UploadObject

UploadView.get_context_data(**kwargs)[source]
UploadView.get_initial()[source]
UploadView.get_success_url()[source]
UploadView.success_url = 'horizon:project:containers:index'
UploadView.template_name = 'project/containers/upload.html'
openstack_dashboard.dashboards.project.containers.views.for_url(container_name)[source]

Build a URL friendly container name.

Add Swift delimiter if necessary. The name can contain ‘%’ (bug 1231904).

openstack_dashboard.dashboards.project.containers.views.object_download(request, container_name, object_path)[source]

Previous topic

The openstack_dashboard.dashboards.project.containers.forms Module

Next topic

The openstack_dashboard.dashboards.project.containers Module

This Page