package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Functions
HandleCreateRegionSuccessfully creates an HTTP handler at `/regions` on the test handler mux that tests region creation.
HandleDeleteRegionSuccessfully creates an HTTP handler at `/regions` on the test handler mux that tests region deletion.
HandleGetRegionSuccessfully creates an HTTP handler at `/regions` on the test handler mux that responds with a single region.
HandleListRegionsSuccessfully creates an HTTP handler at `/regions` on the test handler mux that responds with a list of two regions.
HandleUpdateRegionSuccessfully creates an HTTP handler at `/regions` on the test handler mux that tests region update.
# Constants
CreateRequest provides the input to a Create request.
GetOutput provides a Get result.
ListOutput provides a single page of Region results.
// Due to a bug in Keystone, the Extra column of the Region table
// is not updatable, see: https://bugs.launchpad.net/keystone/+bug/1729933
// This following line should replace the email in UpdateOutput.extra once
// the fix is merged.
// Due to a bug in Keystone, the Extra column of the Region table
// is not updatable, see: https://bugs.launchpad.net/keystone/+bug/1729933
// The following line should be added to region in UpdateRequest once the
// fix is merged.
# Variables
ExpectedRegionsSlice is the slice of regions expected to be returned from ListOutput.
FirstRegion is the first region in the List request.
SecondRegion is the second region in the List request.
// Due to a bug in Keystone, the Extra column of the Region table
// is not updatable, see: https://bugs.launchpad.net/keystone/+bug/1729933
// This should replace the email in SecondRegionUpdated.Extra once the fix
// is merged.