glance.domain package¶
Submodules¶
glance.domain.proxy module¶
-
class
glance.domain.proxy.
Image
(base, member_repo_proxy_class=None, member_repo_proxy_kwargs=None)[source]¶ Bases:
object
-
checksum
¶
-
container_format
¶
-
created_at
¶
-
disk_format
¶
-
extra_properties
¶
-
image_id
¶
-
locations
¶
-
min_disk
¶
-
min_ram
¶
-
name
¶
-
owner
¶
-
protected
¶
-
size
¶
-
status
¶
-
updated_at
¶
-
virtual_size
¶
-
visibility
¶
-
-
class
glance.domain.proxy.
ImageFactory
(base, proxy_class=None, proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
ImageMember
(base)[source]¶ Bases:
object
-
created_at
¶
-
id
¶
-
image_id
¶
-
member_id
¶
-
status
¶
-
updated_at
¶
-
-
class
glance.domain.proxy.
ImageMembershipFactory
(base, proxy_class=None, proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MemberRepo
(image, base, member_proxy_class=None, member_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefNamespace
(base)[source]¶ Bases:
object
-
created_at
¶
-
description
¶
-
display_name
¶
-
namespace
¶
-
namespace_id
¶
-
owner
¶
-
protected
¶
-
updated_at
¶
-
visibility
¶
-
-
class
glance.domain.proxy.
MetadefNamespaceFactory
(base, meta_namespace_proxy_class=None, meta_namespace_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefNamespaceRepo
(base, namespace_proxy_class=None, namespace_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefObject
(base)[source]¶ Bases:
object
-
created_at
¶
-
description
¶
-
name
¶
-
namespace
¶
-
object_id
¶
-
properties
¶
-
required
¶
-
updated_at
¶
-
-
class
glance.domain.proxy.
MetadefObjectFactory
(base, meta_object_proxy_class=None, meta_object_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefObjectRepo
(base, object_proxy_class=None, object_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefProperty
(base)[source]¶ Bases:
object
-
name
¶
-
namespace
¶
-
property_id
¶
-
schema
¶
-
-
class
glance.domain.proxy.
MetadefPropertyFactory
(base, property_proxy_class=None, property_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefPropertyRepo
(base, property_proxy_class=None, property_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefResourceType
(base)[source]¶ Bases:
object
-
created_at
¶
-
name
¶
-
namespace
¶
-
prefix
¶
-
properties_target
¶
-
updated_at
¶
-
-
class
glance.domain.proxy.
MetadefResourceTypeFactory
(base, resource_type_proxy_class=None, resource_type_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefResourceTypeRepo
(base, resource_type_proxy_class=None, resource_type_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefTag
(base)[source]¶ Bases:
object
-
created_at
¶
-
name
¶
-
namespace
¶
-
tag_id
¶
-
updated_at
¶
-
-
class
glance.domain.proxy.
MetadefTagFactory
(base, meta_tag_proxy_class=None, meta_tag_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
MetadefTagRepo
(base, tag_proxy_class=None, tag_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
Repo
(base, item_proxy_class=None, item_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
Task
(base)[source]¶ Bases:
object
-
created_at
¶
-
expires_at
¶
-
message
¶
-
owner
¶
-
result
¶
-
status
¶
-
task_id
¶
-
task_input
¶
-
type
¶
-
updated_at
¶
-
-
class
glance.domain.proxy.
TaskFactory
(base, task_proxy_class=None, task_proxy_kwargs=None)[source]¶ Bases:
object
-
class
glance.domain.proxy.
TaskRepo
(base, task_proxy_class=None, task_proxy_kwargs=None)[source]¶ Bases:
object
Module contents¶
-
class
glance.domain.
Image
(image_id, status, created_at, updated_at, **kwargs)[source]¶ Bases:
object
-
container_format
¶
-
disk_format
¶
-
min_disk
¶
-
min_ram
¶
-
status
¶
-
valid_state_targets
= {'pending_delete': ('deleted',), 'saving': ('active', 'killed', 'deleted', 'queued'), 'deleted': (), 'deactivated': ('active', 'deleted'), 'killed': ('deleted',), 'active': ('pending_delete', 'deleted', 'deactivated'), 'queued': ('saving', 'active', 'deleted')}¶
-
visibility
¶
-
-
class
glance.domain.
ImageMembership
(image_id, member_id, created_at, updated_at, id=None, status=None)[source]¶ Bases:
object
-
status
¶
-
-
class
glance.domain.
MetadefNamespace
(namespace_id, namespace, display_name, description, owner, visibility, protected, created_at, updated_at)[source]¶ Bases:
object
-
class
glance.domain.
MetadefObject
(namespace, object_id, name, created_at, updated_at, required, description, properties)[source]¶ Bases:
object
-
class
glance.domain.
MetadefResourceType
(namespace, name, prefix, properties_target, created_at, updated_at)[source]¶ Bases:
object
-
class
glance.domain.
MetadefTag
(namespace, tag_id, name, created_at, updated_at)[source]¶ Bases:
object
-
class
glance.domain.
Task
(task_id, task_type, status, owner, expires_at, created_at, updated_at, task_input, result, message)[source]¶ Bases:
object
-
message
¶
-
status
¶
-
-
class
glance.domain.
TaskExecutorFactory
(task_repo, image_repo, image_factory)[source]¶ Bases:
object
-
eventlet_deprecation_warned
= False¶
-