connect

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaCloudConnection

type AlibabaCloudConnection struct {
	Region idrv.RegionInfo

	VMClient      *ecs.Client
	KeyPairClient *ecs.Client
	ImageClient   *ecs.Client
	//PublicIPClient      *vpc.Client
	SecurityGroupClient *ecs.Client
	//VNetClient          *vpc.Client
	VpcClient *vpc.Client
	//VNicClient          *ecs.Client
	SubnetClient *vpc.Client
	VmSpecClient *ecs.Client
}

func (AlibabaCloudConnection) Close

func (AlibabaCloudConnection) Close() error

func (*AlibabaCloudConnection) CreateImageHandler

func (cloudConn *AlibabaCloudConnection) CreateImageHandler() (irs.ImageHandler, error)

func (*AlibabaCloudConnection) CreateKeyPairHandler

func (cloudConn *AlibabaCloudConnection) CreateKeyPairHandler() (irs.KeyPairHandler, error)

func (*AlibabaCloudConnection) CreateSecurityHandler

func (cloudConn *AlibabaCloudConnection) CreateSecurityHandler() (irs.SecurityHandler, error)

func (*AlibabaCloudConnection) CreateVMHandler

func (cloudConn *AlibabaCloudConnection) CreateVMHandler() (irs.VMHandler, error)

func (*AlibabaCloudConnection) CreateVMSpecHandler

func (cloudConn *AlibabaCloudConnection) CreateVMSpecHandler() (irs.VMSpecHandler, error)

func (*AlibabaCloudConnection) CreateVPCHandler added in v0.1.4

func (cloudConn *AlibabaCloudConnection) CreateVPCHandler() (irs.VPCHandler, error)
func (cloudConn *AlibabaCloudConnection) CreateVNetworkHandler() (irs.VNetworkHandler, error) {
	cblogger.Info("Alibaba Cloud Driver: called CreateVNetworkHandler()!")
	vNetHandler := alirs.AlibabaVNetworkHandler{cloudConn.Region, cloudConn.VNetClient}
	return &vNetHandler, nil
}

func (AlibabaCloudConnection) IsConnected

func (AlibabaCloudConnection) IsConnected() (bool, error)

Jump to

Keyboard shortcuts

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