options

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CIVO_REGION        = "CIVO_REGION"
	CIVO_INSTANCE_TYPE = "CIVO_INSTANCE_TYPE"
	CIVO_DISK_IMAGE    = "CIVO_DISK_IMAGE"
)

Functions

This section is empty.

Types

type Options

type Options struct {
	DiskImage     string
	DiskSizeGB    int
	MachineFolder string
	MachineID     string
	MachineType   string
	Region        string
}

func ConfigFromEnv

func ConfigFromEnv() (Options, error)

func FromEnv

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

Jump to

Keyboard shortcuts

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