keystone.trust.backends.base.TrustDriverBase[source]¶Bases: object
consume_use(trust_id)[source]¶Consume one use of a trust.
One use of a trust is consumed when the trust was created with a limitation on its uses, provided there are still uses available.
| Raises: |
|
|---|
delete_trusts_for_project(project_id)[source]¶Delete all trusts for a project.
| Parameters: | project_id – ID of a project to filter trusts by. |
|---|
flush_expired_and_soft_deleted_trusts(project_id=None, trustor_user_id=None, trustee_user_id=None, date=None)[source]¶Flush expired and non-expired soft deleted trusts from the backend.
| Parameters: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.