Help us shape the future of Go! Take the 2026 Go Developer Survey

testing

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 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

func MockExportResponse(t *testing.T)

func MockGetResponse

func MockGetResponse(t *testing.T)

func MockImportResponse

func MockImportResponse(t *testing.T)

func MockListDetailResponse

func MockListDetailResponse(t *testing.T)

func MockListResponse

func MockListResponse(t *testing.T)

func MockRestoreResponse

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