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 0x7fba593f2dd0>
-
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 0x7fba5a26a110>
-
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 0x7fba596005d0>
-
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 0x7fba593f2e50>
-
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 0x7fba593f2890>
-
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 0x7fba593f2f10>
-
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 0x7fba59160750>
-
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 0x7fba593f2290>
-
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]