testing

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const TestCreateTokenOptsRaw = `
{
    "token": {
        "project_id": "4aa8f79c86744f13aa80c324b8d24158"
    }
}
`

TestCreateTokenOptsRaw represents marshalled options for the Create request.

View Source
const TestCreateTokenResponseRaw = `` /* 226-byte string literal not displayed */

TestCreateTokenResponseRaw represents a raw response from the Create request.

View Source
const TestTokenInvalidResponseRaw = `
{
    "token": {
        "id": 123
    }
}
`

TestTokenInvalidResponseRaw represents a raw invalid response with a single token.

Variables

View Source
var TestCreateTokenOpts = tokens.TokenOpts{
	ProjectID: "4aa8f79c86744f13aa80c324b8d24158",
}

TestCreateTokenOpts represent options for the Create request.

View Source
var TestCreateTokenResponse = &tokens.Token{
	ID: "gAAAAABa3IpNNDDRzihlPrit6xFuCw7V2uMFcP9yGAYahg-xdxmKJ2QMVKtU_lJm0gfJL15GSegslW9IUBajeraM1y2oo0Fds7yzynVJKweCcsqpkArT2OHJfj_Nfqub62Ffv17SeFx7F-3c8-9P-xJ3McG93Cdd18oI_fkwZMEBTq5hzqSmbNQ",
}

TestCreateTokenResponse represents the unmarshalled TestCreateTokenResponseRaw response.

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