File: fixtures.go

package info (click to toggle)
golang-github-gophercloud-gophercloud 0.0~git20180917.45f1c769-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,768 kB
  • sloc: sh: 98; makefile: 14
file content (20 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package testing

// ServerWithUsageExtResult represents a raw server response from the Compute API
// with OS-SRV-USG data.
// Most of the actual fields were deleted from the response.
const ServerWithUsageExtResult = `
{
    "server": {
        "OS-SRV-USG:launched_at": "2018-07-27T09:15:55.000000",
        "OS-SRV-USG:terminated_at": null,
        "created": "2018-07-27T09:15:48Z",
        "updated": "2018-07-27T09:15:55Z",
        "id": "d650a0ce-17c3-497d-961a-43c4af80998a",
        "name": "test_instance",
        "status": "ACTIVE",
        "user_id": "0f2f3822679e4b3ea073e5d1c6ed5f02",
        "tenant_id": "424e7cf0243c468ca61732ba45973b3e"
    }
}
`