options

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PPS_DEFAULT_REGION   = "PPS_DEFAULT_REGION"
	PPS_MACHINE_TYPE     = "PPS_MACHINE_TYPE"
	PPS_IMAGE            = "PPS_IMAGE"
	PPS_DISK_SIZE        = "PPS_DISK_SIZE"
	PPS_MACHINE_NAME     = "PPS_MACHINE_NAME"
	PPS_MACHINE_TEMPLATE = "PPS_MACHINE_TEMPLATE"
	MACHINE_ID           = "MACHINE_ID"
	SSH_FOLDER           = "SSH_FOLDER"
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Image       string
	MachineType string
	DiskSizeGB  string
	Region      string

	MachineID       string
	MachineTemplate string
	SSHFolder       string
}

func ConfigFromEnv

func ConfigFromEnv() (Options, error)

func FromEnv

func FromEnv(init bool) (*Options, error)

Jump to

Keyboard shortcuts

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