Documentation ¶
Index ¶
Constants ¶
View Source
const ( AVAILABLE = "AVAILABLE" BUSY = "BUSY" ACTIVE = "ACTIVE" UPDATING = "UPDATING" DESTROYING = "DESTROYING" )
States of Compute Resources
Variables ¶
This section is empty.
Functions ¶
func AddAPIResponseInfo ¶
func AddAPIResponseInfo(apiResponse *sdkgo.APIResponse, retErr error) error
AddAPIResponseInfo adds APIResponse status info to an existing error
func ErrorUnlessNotFound ¶ added in v1.0.9
func ErrorUnlessNotFound(apiResponse *sdkgo.APIResponse, retErr error) error
ErrorUnlessNotFound returns an error with status code info, unless the status code is 404
func WaitForRequest ¶
func WaitForRequest(ctx context.Context, client *sdkgo.APIClient, apiResponse *sdkgo.APIResponse) error
WaitForRequest waits for the request to be DONE
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.