package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev

# Functions

HandleAddressListSuccessfully sets up the test server to respond to a ListAddresses request.
HandleAdminPasswordChangeSuccessfully sets up the test server to respond to a server password change request.
HandleCreateServerImageSuccessfully sets up the test server to respond to a TestCreateServerImage request.
HandleMetadataGetSuccessfully sets up the test server to respond to a metadata Get request.
HandleMetadataResetSuccessfully sets up the test server to respond to a metadata Create request.
HandleMetadataUpdateSuccessfully sets up the test server to respond to a metadata Update request.
HandleMetadatumCreateSuccessfully sets up the test server to respond to a metadatum Create request.
HandleMetadatumDeleteSuccessfully sets up the test server to respond to a metadatum Delete request.
HandleMetadatumGetSuccessfully sets up the test server to respond to a metadatum Get request.
HandleNetworkAddressListSuccessfully sets up the test server to respond to a ListAddressesByNetwork request.
HandlePasswordGetSuccessfully sets up the test server to respond to a password Get request.
HandleRebootSuccessfully sets up the test server to respond to a reboot request with success.
HandleRebuildSuccessfully sets up the test server to respond to a rebuild request with success.
HandleServerCreationSuccessfully sets up the test server to respond to a server creation request with a given response.
HandleServerCreationWithCustomFieldSuccessfully sets up the test server to respond to a server creation request with a given response.
HandleServerCreationWithMetadata sets up the test server to respond to a server creation request with a given response.
HandleServerCreationWithUserdata sets up the test server to respond to a server creation request with a given response.
HandleServerDeletionSuccessfully sets up the test server to respond to a server deletion request.
HandleServerForceDeletionSuccessfully sets up the test server to respond to a server force deletion request.
HandleServerGetFaultSuccessfully sets up the test server to respond to a server Get request which contains a fault.
HandleServerGetSuccessfully sets up the test server to respond to a server Get request.
HandleServerListSuccessfully sets up the test server to respond to a server List request.
HandleServerUpdateSuccessfully sets up the test server to respond to a server Update request.
HandleShowConsoleOutputSuccessfully sets up the test server to respond to a os-getConsoleOutput request with success.

# Constants

No description provided by the author
FaultyServerBody is the body of a Get request on an existing server which has a fault/error.
ServerListBody contains the canned body of a servers.List response.
No description provided by the author
SingleServerBody is the canned body of a Get request on an existing server.

# Variables

No description provided by the author
No description provided by the author
ListAddressesExpected represents an expected repsonse from a ListAddresses request.
ListNetworkAddressesExpected represents an expected repsonse from a ListAddressesByNetwork request.
ServerDerp is a Server struct that should correspond to the second server in ServerListBody.
ServerHerp is a Server struct that should correspond to the first result in ServerListBody.
ServerMerp is a Server struct that should correspond to the second server in ServerListBody.

# Structs

No description provided by the author