clouddriverhandler

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 31 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClouddConnection added in v0.9.8

func CreateClouddConnection(connectName string) (icon.CloudConnection, error)

// for spiderlet CreateClouddConnection retrieves CloudDriverInfo and ConnectionInfo via HTTPS and constructs CloudConnection

func GetCloudConnection

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

CloudConnection for Region-Level Control (Except. DiskHandler)

func GetCloudConnectionByDriverNameAndCredentialName added in v0.8.5

func GetCloudConnectionByDriverNameAndCredentialName(driverName string, credentialName 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. get CloudDriver

func GetProviderNameByConnectionName added in v0.3.14

func GetProviderNameByConnectionName(cloudConnectName string) (string, error)

func GetRegionNameByConnectionName added in v0.1.2

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

func GetZoneLevelCloudConnection added in v0.8.11

func GetZoneLevelCloudConnection(cloudConnectName string, targetZoneName string) (icon.CloudConnection, error)

CloudConnection for Zone-Level Control (Ex. DiskHandler)

func ListConnectionNameByProviderAndRegion added in v0.10.0

func ListConnectionNameByProviderAndRegion(provider string, region string) ([]string, error)

Types

type CloudDriverAndConnectionInfo added in v0.9.8

type CloudDriverAndConnectionInfo struct {
	CloudDriverInfo dim.CloudDriverInfo `json:"CloudDriverInfo"`
	ConnectionInfo  idrv.ConnectionInfo `json:"ConnectionInfo"`
}

func GetCloudDriverAndConnectionInfo added in v0.9.8

func GetCloudDriverAndConnectionInfo(connectName string) (CloudDriverAndConnectionInfo, error)

Critical data for Spiderlet. Requires a TLS environment.

Directories

Path Synopsis
cloud-driver
drivers/alibaba/resources
VPC & Subnet 처리 (AlibabaCloud's Subnet --> VSwitch 임)
VPC & Subnet 처리 (AlibabaCloud's Subnet --> VSwitch 임)
drivers/aws/resources
https://github.com/cloud-barista/cb-spider/wiki/Tag-and-Cloud-Driver-API
https://github.com/cloud-barista/cb-spider/wiki/Tag-and-Cloud-Driver-API
drivers/ibmcloud-vpc/utils/kubernetesserviceapiv1
Package kubernetesserviceapiv1 : Operations and models for the KubernetesServiceApiV1 service
Package kubernetesserviceapiv1 : Operations and models for the KubernetesServiceApiV1 service
drivers/tencent/resources
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.
test
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.

Jump to

Keyboard shortcuts

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