k8s_client.views.roles¶
Module Contents¶
Functions¶
|
Get roles list |
- k8s_client.views.roles.get_roles(name=None)¶
Get roles list
Parameters¶
"name": string (optional)The name of the role to search.
Returns¶
JSON containing the full list of roles if
nameis NoneJSON containing the details of the specified role if
nameis a <valid name>Error message with return code 404 if
nameis NOT a <valid name>