github.com/leeclow-ops/gophercloud@v1.2.1/openstack/compute/v2/extensions/remoteconsoles/testing/fixtures.go (about) 1 package testing 2 3 // RemoteConsoleCreateRequest represents a request to create a remote console. 4 const RemoteConsoleCreateRequest = ` 5 { 6 "remote_console": { 7 "protocol": "vnc", 8 "type": "novnc" 9 } 10 } 11 ` 12 13 // RemoteConsoleCreateResult represents a raw server responce to the RemoteConsoleCreateRequest. 14 const RemoteConsoleCreateResult = ` 15 { 16 "remote_console": { 17 "protocol": "vnc", 18 "type": "novnc", 19 "url": "http://192.168.0.4:6080/vnc_auto.html?token=9a2372b9-6a0e-4f71-aca1-56020e6bb677" 20 } 21 } 22 `