Documentation ¶
Overview ¶
Package testing includes rbac unit tests
Index ¶
Constants ¶
View Source
const CreateRequest = `` /* 224-byte string literal not displayed */
CreateRequest is the structure of request body to create rbac-policy.
View Source
const CreateResponse = `` /* 393-byte string literal not displayed */
CreateResponse is the structure of response body of rbac-policy create.
View Source
const GetResponse = `` /* 509-byte string literal not displayed */
GetResponse is the structure of the response body of rbac-policy get operation.
View Source
const ListResponse = `` /* 697-byte string literal not displayed */
View Source
const UpdateRequest = `
{
"rbac_policy": {
"target_tenant": "9d766060b6354c9e8e2da44cab0e8f38"
}
}`
UpdateRequest is the structure of request body to update rbac-policy.
View Source
const UpdateResponse = `` /* 393-byte string literal not displayed */
UpdateResponse is the structure of response body of rbac-policy update.
Variables ¶
View Source
var ExpectedRBACPoliciesSlice = []rbacpolicies.RBACPolicy{rbacPolicy1, rbacPolicy2}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.