Documentation
¶
Index ¶
- Constants
- func MockCreateResponse(t *testing.T)
- func MockDeleteResponse(t *testing.T)
- func MockExportResponse(t *testing.T)
- func MockGetResponse(t *testing.T)
- func MockImportResponse(t *testing.T)
- func MockListDetailResponse(t *testing.T)
- func MockListResponse(t *testing.T)
- func MockRestoreResponse(t *testing.T)
Constants ¶
View Source
const CreateRequest = `
{
"backup": {
"volume_id": "1234",
"name": "backup-001"
}
}
`
View Source
const CreateResponse = `` /* 274-byte string literal not displayed */
View Source
const ExportResponse = `` /* 1362-byte string literal not displayed */
View Source
const GetResponse = `` /* 281-byte string literal not displayed */
View Source
const ImportRequest = ExportResponse
View Source
const ImportResponse = `` /* 420-byte string literal not displayed */
View Source
const ListDetailResponse = `` /* 696-byte string literal not displayed */
View Source
const ListResponse = `` /* 302-byte string literal not displayed */
View Source
const RestoreRequest = `
{
"restore": {
"name": "vol-001",
"volume_id": "1234"
}
}
`
View Source
const RestoreResponse = `` /* 135-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func MockCreateResponse ¶
func MockDeleteResponse ¶
func MockExportResponse ¶ added in v0.10.0
func MockGetResponse ¶
func MockImportResponse ¶ added in v0.10.0
func MockListDetailResponse ¶ added in v0.16.0
func MockListResponse ¶
func MockRestoreResponse ¶ added in v0.9.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.