options

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EXOSCALE_ZONE              = "EXOSCALE_ZONE"
	EXOSCALE_INSTANCE_TYPE     = "EXOSCALE_INSTANCE_TYPE"
	EXOSCALE_INSTANCE_TEMPLATE = "EXOSCALE_INSTANCE_TEMPLATE"
	EXOSCALE_DISK_SIZE_GB      = "EXOSCALE_DISK_SIZE_GB"
	MACHINE_ID                 = "MACHINE_ID"
	MACHINE_FOLDER             = "MACHINE_FOLDER"
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Zone             string
	InstanceType     string
	InstanceTemplate string
	DiskSizeGB       string

	MachineID     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