options

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 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"
	PPS_MACHINE_FOLDER   = "PPS_MACHINE_FOLDER"
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Image          string
	MachineType    string
	DiskSizeGB     string
	Region         string
	OrganizationID string
	ProjectID      string
	ServerID       string

	MachineName     string
	MachineTemplate string
	MachineFolder   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