testing

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 MockCreateResponse(t *testing.T)

func MockDeleteResponse

func MockDeleteResponse(t *testing.T)

func MockExportResponse added in v0.10.0

func MockExportResponse(t *testing.T)

func MockGetResponse

func MockGetResponse(t *testing.T)

func MockImportResponse added in v0.10.0

func MockImportResponse(t *testing.T)

func MockListDetailResponse added in v0.16.0

func MockListDetailResponse(t *testing.T)

func MockListResponse

func MockListResponse(t *testing.T)

func MockRestoreResponse added in v0.9.0

func MockRestoreResponse(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL