options

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REGION            = "REGION"
	INSTANCE_TYPE     = "INSTANCE_TYPE"
	IMAGE_DISK        = "IMAGE_DISK"
	DISK_SIZE         = "DISK_SIZE"
	TERRAFORM_PROJECT = "TERRAFORM_PROJECT"
)

Variables

This section is empty.

Functions

func FromEnvOrError

func FromEnvOrError(name string) (string, error)

Types

type Options

type Options struct {
	DiskImage     string
	DiskSizeGB    string
	MachineFolder string
	MachineID     string
	MachineType   string
	Zone          string
}

func ConfigFromEnv

func ConfigFromEnv() (Options, error)

func FromEnv

func FromEnv() (*Options, error)

Jump to

Keyboard shortcuts

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