The cinder.message.api Module¶
Handles all requests related to user facing messages.
-
class
API(db_driver=None)¶ Bases:
cinder.db.base.BaseAPI for handling user messages.
-
cleanup_expired_messages(context)¶
-
create(context, event_id, project_id, resource_type=None, resource_uuid=None, level=’ERROR’)¶ Create a message with the specified information.
-
delete(context, id)¶ Delete message with the specified id.
-
get(context, id)¶ Return message with the specified id.
-
get_all(context, filters=None, marker=None, limit=None, offset=None, sort_keys=None, sort_dirs=None)¶ Return all messages for the given context.
-