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.
Click to show internal directories.
Click to hide internal directories.