connect

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 9 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
	NLBClient     *slb.Client
	DiskClient    *ecs.Client
	MyImageClient *ecs.Client
}

func (AlibabaCloudConnection) Close

func (AlibabaCloudConnection) Close() error

func (*AlibabaCloudConnection) CreateClusterHandler added in v0.6.7

func (cloudConn *AlibabaCloudConnection) CreateClusterHandler() (irs.ClusterHandler, error)

func (*AlibabaCloudConnection) CreateDiskHandler added in v0.6.7

func (cloudConn *AlibabaCloudConnection) CreateDiskHandler() (irs.DiskHandler, error)

func (*AlibabaCloudConnection) CreateImageHandler

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

func (*AlibabaCloudConnection) CreateKeyPairHandler

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

func (*AlibabaCloudConnection) CreateMyImageHandler added in v0.6.8

func (cloudConn *AlibabaCloudConnection) CreateMyImageHandler() (irs.MyImageHandler, error)

func (*AlibabaCloudConnection) CreateNLBHandler added in v0.5.9

func (cloudConn *AlibabaCloudConnection) CreateNLBHandler() (irs.NLBHandler, 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