Documentation ¶
Index ¶
- type GCPCloudConnection
- func (GCPCloudConnection) Close() error
- func (cloudConn *GCPCloudConnection) CreateImageHandler() (irs.ImageHandler, error)
- func (cloudConn *GCPCloudConnection) CreateKeyPairHandler() (irs.KeyPairHandler, error)
- func (cloudConn *GCPCloudConnection) CreateSecurityHandler() (irs.SecurityHandler, error)
- func (cloudConn *GCPCloudConnection) CreateVMHandler() (irs.VMHandler, error)
- func (cloudConn *GCPCloudConnection) CreateVMSpecHandler() (irs.VMSpecHandler, error)
- func (cloudConn *GCPCloudConnection) CreateVPCHandler() (irs.VPCHandler, error)
- func (GCPCloudConnection) IsConnected() (bool, error)
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 ¶ added in v0.1.3
func (cloudConn *GCPCloudConnection) CreateVPCHandler() (irs.VPCHandler, error)
func (GCPCloudConnection) IsConnected ¶
func (GCPCloudConnection) IsConnected() (bool, error)
Click to show internal directories.
Click to hide internal directories.