glance.api.authorization module¶
Bases:
glance.domain.proxy.Image
Bases:
glance.domain.proxy.Repo
Bases:
object
Bases:
list
Append object to the end of the list.
Extend list by appending elements from the iterable.
Insert object before index.
Remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
Remove first occurrence of value.
Raises ValueError if the value is not present.
Reverse IN PLACE.
Sort the list in ascending order and return None.
The sort is in-place (i.e. the list itself is modified) and stable (i.e. the order of two equal elements is maintained).
If a key function is given, apply it once to each list item and sort them, ascending or descending, according to their function values.
The reverse flag can be set to sort in descending order.
Bases:
object
Bases:
object
Bases:
object
Bases:
object
Bases:
object
Bases:
object
Bases:
dict
If key is not found, d is returned if given, otherwise KeyError is raised
Remove and return a (key, value) pair as a 2-tuple.
Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty.
Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.
If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
Bases:
set
Add an element to a set.
This has no effect if the element is already present.
Remove all elements from this set.
Remove all elements of another set from this set.
Update a set with the intersection of itself and another.
Remove and return an arbitrary set element. Raises KeyError if the set is empty.
Remove an element from a set; it must be a member.
If the element is not a member, raise a KeyError.
Update a set with the symmetric difference of itself and another.
Update a set with the union of itself and others.
Bases:
object
Bases:
object
Bases:
glance.domain.proxy.Task
Bases:
glance.domain.proxy.TaskRepo
Return True if the image is mutable in this context.
Return True if the image is mutable in this context.
Return True if the meta_resource_type is mutable in this context.
Return True if the namespace is mutable in this context.
Return True if the object is mutable in this context.
Return True if the object is mutable in this context.
Return True if the tag is mutable in this context.
Return True if the task is mutable in this context.
Return True if the task stub is mutable in this context.
Update store information in location metadata