Help us shape the future of Go! Take the 2026 Go Developer Survey

testing

package
v0.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL