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 CheckAPIResponseInfo ¶
func CheckAPIResponseInfo(apiResponse *sdkgo.APIResponse, retErr error) error
CheckAPIResponseInfo checks status code of an APIResponse, and appends info to an existing error
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.