connect

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPCloudConnection

type GCPCloudConnection struct {
	Region              idrv.RegionInfo
	Credential          idrv.CredentialInfo
	Ctx                 context.Context
	VMClient            *compute.Service
	ImageClient         *compute.Service
	PublicIPClient      *compute.Service
	SecurityGroupClient *compute.Service
	VNetClient          *compute.Service
	VNicClient          *compute.Service
	SubnetClient        *compute.Service
	VMSpecHandler       *compute.Service
	VPCHandler          *compute.Service
}

func (GCPCloudConnection) Close

func (GCPCloudConnection) Close() error

func (*GCPCloudConnection) CreateImageHandler

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

func (*GCPCloudConnection) CreateKeyPairHandler

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

func (*GCPCloudConnection) CreateNLBHandler added in v0.5.9

func (cloudConn *GCPCloudConnection) CreateNLBHandler() (irs.NLBHandler, error)

func (*GCPCloudConnection) CreateSecurityHandler

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

func (*GCPCloudConnection) CreateVMHandler

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

func (*GCPCloudConnection) CreateVMSpecHandler

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

func (*GCPCloudConnection) CreateVPCHandler added in v0.1.3

func (cloudConn *GCPCloudConnection) CreateVPCHandler() (irs.VPCHandler, error)

func (GCPCloudConnection) IsConnected

func (GCPCloudConnection) IsConnected() (bool, error)

Jump to

Keyboard shortcuts

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