gcehandler

package
v0.0.0-...-22e4e6f Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Proof of Concepts for the Cloud-Barista Multi-Cloud Project.

GCE Hander (GOOGLE-API-GO-CLIENT:COMPUTE Version 1.0, Thanks GCP.)

by powerkim@powerkim.co.kr, 2019.04.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(credentialFilePath string) *compute.Service

func ConnectByEnv

func ConnectByEnv() *compute.Service

func CreateInstances

func CreateInstances(computeService *compute.Service, region string, zone string, projectID string,
	imageURL string, machineType string, minCount int, maxCount int, subNetwork string,
	networkName string, serviceAccoutsMail string, baseName string) []*string

func DestroyInstances

func DestroyInstances(computeService *compute.Service, zone string, projectID string, instanceNames []*string)

func GetPublicIP

func GetPublicIP(computeService *compute.Service, zone string, projectID string, instanceName string) string

func WaitForRun

func WaitForRun(computeService *compute.Service, zone string, projectID string, instanceName string)

now, use GetPublicIP() for fast develop.

Types

This section is empty.

Directories

Path Synopsis
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.

Jump to

Keyboard shortcuts

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