client

package
v0.0.0-...-96b04c8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetRegionError = "GET_REGION_ERROR"
)

Functions

func CancelUpload

func CancelUpload(ctx context.Context, lease *nfc.Lease, data types.DynamicData) error

func NewFusionComputeClient

func NewFusionComputeClient(vars map[string]interface{}) *fusionComputeClient

func NewOpenStackClient

func NewOpenStackClient(vars map[string]interface{}) *openStackClient

func NewVSphereClient

func NewVSphereClient(vars map[string]interface{}) *vSphereClient

func OpenRemoteFile

func OpenRemoteFile(remoteUrl string) (io.ReadCloser, int64, error)

Types

type DatastoreResult

type DatastoreResult struct {
	Name      string `json:"name"`
	Capacity  int    `json:"capacity"`
	FreeSpace int    `json:"freeSpace"`
}

Jump to

Keyboard shortcuts

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