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

Views for managing Swift containers.

class openstack_dashboard.dashboards.project.containers.views.ContainerDetailView(*args, **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 0x7f42422a9790>
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.

page_title = <django.utils.functional.__proxy__ object at 0x7f4242489310>
template_name = 'project/containers/index.html'
class openstack_dashboard.dashboards.project.containers.views.CopyView(*args, **kwargs)[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 0x7f42422a9810>
success_url = 'horizon:project:containers:index'
template_name = 'project/containers/copy.html'
class openstack_dashboard.dashboards.project.containers.views.CreatePseudoFolderView(*args, **kwargs)[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 0x7f4242292dd0>
success_url = 'horizon:project:containers:index'
template_name = 'project/containers/create_pseudo_folder.html'
class openstack_dashboard.dashboards.project.containers.views.CreateView(*args, **kwargs)[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 0x7f42422920d0>
success_url = 'horizon:project:containers:index'
template_name = 'project/containers/create.html'
class openstack_dashboard.dashboards.project.containers.views.NgIndexView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

template_name = 'project/containers/ngindex.html'
class openstack_dashboard.dashboards.project.containers.views.ObjectDetailView(*args, **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 0x7f42422a93d0>
template_name = 'project/containers/object_detail.html'
class openstack_dashboard.dashboards.project.containers.views.UpdateObjectView(*args, **kwargs)[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 0x7f42422a92d0>
success_url = 'horizon:project:containers:index'
template_name = 'project/containers/update.html'
class openstack_dashboard.dashboards.project.containers.views.UploadView(*args, **kwargs)[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 0x7f42422a9710>
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]

Previous topic

The openstack_dashboard.dashboards.project.containers Module

Next topic

The openstack_dashboard.dashboards.project.containers.tables Module

Project Source

This Page