compute

package
v1.0.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL