The karbor.objects.checkpoint_record
Module¶
-
class
karbor.objects.checkpoint_record.
CheckpointRecord
(context=None, **kwargs)¶ Bases:
karbor.objects.base.KarborPersistentObject
,karbor.objects.base.KarborObject
,karbor.objects.base.KarborObjectDictCompat
,karbor.objects.base.KarborComparableObject
-
VERSION
= ‘1.0’¶
-
checkpoint_id
¶
-
checkpoint_status
¶
-
create
(*args, **kwargs)¶
-
create_by
¶
-
created_at
¶
-
deleted
¶
-
deleted_at
¶
-
destroy
(*args, **kwargs)¶
-
extend_info
¶
-
fields
= {‘updated_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘deleted’: Boolean(default=False,nullable=False), ‘create_by’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘plan_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘checkpoint_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘deleted_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘operation_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘provider_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘extend_info’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘checkpoint_status’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘created_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘project_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}¶
-
classmethod
get_by_id
(context, *args, **kwargs)¶
-
id
¶
-
model
¶ alias of
CheckpointRecord
-
operation_id
¶
-
plan_id
¶
-
project_id
¶
-
provider_id
¶
-
save
(*args, **kwargs)¶
-
updated_at
¶
-
-
class
karbor.objects.checkpoint_record.
CheckpointRecordList
(*args, **kwargs)¶ Bases:
karbor.objects.base.ObjectListBase
,karbor.objects.base.KarborObject
-
VERSION
= ‘1.0’¶
-
fields
= {‘objects’: List(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}¶
-
classmethod
get_by_filters
(context, *args, **kwargs)¶
-
objects
¶
-