gce

package
v0.0.0-...-7cdc176 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteVM

func DeleteVM(name string) error

func GetVMStatus

func GetVMStatus(name, dir string) (string, error)

func LaunchVM

func LaunchVM(c *VMConfig) (*exec.Cmd, error)

func LoginCheck

func LoginCheck() error

func StopVM

func StopVM(name string) error

func StoreConfig

func StoreConfig(c *VMConfig) error

Types

type VMConfig

type VMConfig struct {
	Name             string
	Image            string
	Network          string
	MachineType      string
	Zone             string
	CloudStoragePath string
	Tarball          string
	ConfigFile       string
	InstanceDir      string
	BootDisk         string
}

func LoadConfig

func LoadConfig(name string) (*VMConfig, error)

Jump to

Keyboard shortcuts

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