connect

package
v0.0.0-...-8fc61e2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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) 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

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