github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/compute/v2/extensions/rescueunrescue/testing/fixtures.go (about) 1 package testing 2 3 // RescueRequest represents request to rescue a server. 4 const RescueRequest = ` 5 { 6 "rescue": { 7 "adminPass": "aUPtawPzE9NU", 8 "rescue_image_ref": "115e5c5b-72f0-4a0a-9067-60706545248c" 9 } 10 } 11 ` 12 13 // RescueResult represents a raw server response to a RescueRequest. 14 const RescueResult = ` 15 { 16 "adminPass": "aUPtawPzE9NU" 17 } 18 ` 19 20 // UnrescueRequest represents request to unrescue a server. 21 const UnrescueRequest = ` 22 { 23 "unrescue": null 24 } 25 `