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
Click to show internal directories.
Click to hide internal directories.