Documentation ¶
Overview ¶
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.
- Cloud-Barista: https://github.com/cloud-barista
GCE Hander (GOOGLE-API-GO-CLIENT:COMPUTE Version 1.0, Thanks GCP.)
by powerkim@powerkim.co.kr, 2019.04.
Index ¶
- func Connect(credentialFilePath string) *compute.Service
- func ConnectByEnv() *compute.Service
- func CreateInstances(computeService *compute.Service, region string, zone string, projectID string, ...) []*string
- func DestroyInstances(computeService *compute.Service, zone string, projectID string, ...)
- func GetPublicIP(computeService *compute.Service, zone string, projectID string, ...) string
- func WaitForRun(computeService *compute.Service, zone string, projectID string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectByEnv ¶
func ConnectByEnv() *compute.Service
func CreateInstances ¶
func DestroyInstances ¶
func GetPublicIP ¶
func WaitForRun ¶
func WaitForRun(computeService *compute.Service, zone string, projectID string, instanceName string)
now, use GetPublicIP() for fast develop.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.