Documentation ¶
Index ¶
Constants ¶
View Source
const CreateRequest = `
{
"volume_id": "67baa7d1-08ea-4fc5-bef2-6b2465b7d227",
"name": "123",
"description": "after boot"
}
`
View Source
const CreateResponse = `
{
"tasks": [
"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
]
}
`
View Source
const DeleteResponse = `
{
"tasks": [
"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
]
}
`
View Source
const GetResponse = `` /* 405-byte string literal not displayed */
View Source
const ListResponse = `` /* 495-byte string literal not displayed */
Variables ¶
View Source
var ( Snapshot1 = snapshots.Snapshot{ ID: "726ecfcc-7fd0-4e30-a86e-7892524aa483", Name: "123", Description: "mysnapshot", Status: "available", Size: 2, VolumeID: volumeID, CreatedAt: createdTime, UpdatedAt: &updatedTime, Metadata: nil, CreatorTaskID: &creatorTaskID, TaskID: nil, ProjectID: fake.ProjectID, RegionID: fake.RegionID, Region: "RegionOne", } Tasks1 = tasks.TaskResults{ Tasks: []tasks.TaskID{"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"}, } ExpectedSnapshotSlice = []snapshots.Snapshot{Snapshot1} )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.