The openstack_dashboard.dashboards.project.containers.views ModuleΒΆ

Views for managing Swift containers.

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_subdir(item)[source]
ContainerView.objects[source]

Returns a list of objects given the subfolder’s path.

The path is from the kwargs of the request.

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.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.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.object_download(request, container_name, object_path)[source]

Previous topic

The openstack_dashboard.dashboards.project.containers.panel Module

Next topic

The openstack_dashboard.dashboards.project.containers.browsers Module

This Page