clouddriverhandler

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CIM_RESTSERVER = "http://localhost:1024"

Functions

func GetCloudConnection

func GetCloudConnection(cloudConnectName string) (icon.CloudConnection, error)

1. get credential info 2. get region info 3. get CloudConneciton

func GetCloudDriver

func GetCloudDriver(cloudConnectName string) (idrv.CloudDriver, error)

1. get the ConnectionConfig Info 2. get the driver info 3. load driver library 4. get CloudDriver

func GetRegionNameByConnectionName added in v0.1.2

func GetRegionNameByConnectionName(cloudConnectName string) (string, string, error)

func GetRegionNameByRegionInfo added in v0.1.2

func GetRegionNameByRegionInfo(rgnInfo *rim.RegionInfo) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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