options

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EQUINIX_PROJECT = "EQUINIX_PROJECT"
	EQUINIX_METRO   = "EQUINIX_METRO"
	EQUINIX_PLAN    = "EQUINIX_PLAN"
	EQUINIX_OS      = "EQUINIX_OS"
	MACHINE_ID      = "MACHINE_ID"
	MACHINE_FOLDER  = "MACHINE_FOLDER"
)

Functions

This section is empty.

Types

type Options

type Options struct {
	OS        string
	Plan      string
	Metro     string
	ProjectID string
	ServerID  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