cloud_provider

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudClient

type CloudClient interface {
	ListDatacenter() ([]string, string, error)
	ListClusters() ([]interface{}, error)
	ListTemplates() ([]interface{}, error)
	ListFlavors() ([]interface{}, error)
	GetIpInUsed(network string) ([]string, error)
	UploadImage() error
	ImageExist(template string) (bool, error)
	CreateDefaultFolder() error
	ListDatastores() ([]client.DatastoreResult, error)
	ListFolders() ([]string, error)
}

func NewCloudClient

func NewCloudClient(vars map[string]interface{}) CloudClient

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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