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

# Functions

HandleFixedAssociateSucessfully configures the test server to respond to a Post request to associate an allocated floating IP with a specific fixed IP address.
HandleAssociateSuccessfully configures the test server to respond to a Post request to associate an allocated floating IP.
HandleCreateSuccessfully configures the test server to respond to a Create request for a new floating ip.
HandleCreateWithNumericIDSuccessfully configures the test server to respond to a Create request for a new floating ip.
HandleDeleteSuccessfully configures the test server to respond to a Delete request for a an existing floating ip.
HandleDisassociateSuccessfully configures the test server to respond to a Post request to disassociate an allocated floating IP.
HandleGetSuccessfully configures the test server to respond to a Get request for an existing floating ip.
HandleListSuccessfully configures the test server to respond to a List request.

# Constants

CreateOutput is a sample response to a Post call.
CreateOutputWithNumericID is a sample response to a Post call with a legacy nova-network-based numeric ID.
GetOutput is a sample response to a Get call.
ListOutput is a sample response to a List call.

# Variables

CreatedFloatingIP is the parsed result from CreateOutput.
ExpectedFloatingIPsSlice is the slice of results that should be parsed from ListOutput, in the expected order.
FirstFloatingIP is the first result in ListOutput.
SecondFloatingIP is the first result in ListOutput.