package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Functions
HandleCreateSuccessfully configures the test server to respond to a Create request for a new keypair called "createdkey".
HandleDeleteSuccessfully configures the test server to respond to a Delete request for a keypair called "deletedkey".
HandleGetSuccessfully configures the test server to respond to a Get request for "firstkey".
HandleImportSuccessfully configures the test server to respond to an Import request for an existing keypair called "importedkey".
HandleListSuccessfully configures the test server to respond to a List request.
# Constants
CreateOutput is a sample response to a Create call.
GetOutput is a sample response to a Get call.
ImportOutput is a sample response to a Create call that provides its own public key.
ListOutput is a sample response to a List call.
# Variables
CreatedKeyPair is the parsed result from CreatedOutput.
ExpectedKeyPairSlice is the slice of results that should be parsed from ListOutput, in the expected order.
FirstKeyPair is the first result in ListOutput.
ImportedKeyPair is the parsed result from ImportOutput.
SecondKeyPair is the second result in ListOutput.