connect

package
v0.0.0-...-9c72d28 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: Apache-2.0, Apache-2.0, 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
}

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

func (cloudConn *GCPCloudConnection) CreatePublicIPHandler() (irs.PublicIPHandler, error)

func (*GCPCloudConnection) CreateSecurityHandler

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

func (*GCPCloudConnection) CreateVMHandler

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

func (*GCPCloudConnection) CreateVNetworkHandler

func (cloudConn *GCPCloudConnection) CreateVNetworkHandler() (irs.VNetworkHandler, error)

func (*GCPCloudConnection) CreateVNicHandler

func (cloudConn *GCPCloudConnection) CreateVNicHandler() (irs.VNicHandler, 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