Documentation ¶
Index ¶
Constants ¶
View Source
const CreateOutput = `` /* 300-byte string literal not displayed */
CreateOutput represents the response body from a Create request.
Variables ¶
View Source
var CreateExpected = []shares.Share{{
BackupID: "87566ed6-72cb-4053-aa6e-6f6216b3d507",
ToProjectID: "91d687759aed45d28b5f6084bc2fa8ad",
FromProjectID: "17fbda95add24720a4038ba4b1c705ed",
ID: "34c38ce7-f35c-44f2-a8d8-8d4ebab0cfbb",
},
}
CreateExpected represents the expected object from a Create request.
Functions ¶
func HandleCreateSuccessfully ¶
HandleCreateSuccessfully creates an HTTP handler at `/os-vendor-backup-sharing` on the test handler mux that responds with a `Create` response.
func HandleDeleteSuccessfully ¶
HandleDeleteSuccessfully creates an HTTP handler at `/os-vendor-backup-sharing/87566ed6-72cb-4053-aa6e-6f6216b3d507` on the test handler mux that responds with a `Delete` response.
func HandleGetSuccessfully ¶
HandleGetSuccessfully creates an HTTP handler at `/os-vendor-backup-sharing/ac0fb374-a288-4399-ac63-cc080a13a2ee` on the test handler mux that responds with a `Get` response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.