options

package
v0.0.0-...-f6e4835 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	YC_ZONE           = "YC_ZONE"
	YC_PLATFORM_ID    = "YC_PLATFORM_ID"
	YC_FOLDER_ID      = "YC_FOLDER_ID"
	YC_DISK_SIZE_GB   = "YC_DISK_SIZE_GB"
	MACHINE_ID        = "MACHINE_ID"
	MACHINE_FOLDER    = "MACHINE_FOLDER"
	YC_MEMORY_SIZE_GB = "YC_MEMORY_SIZE_GB"
	YC_CORES_COUNT    = "YC_CORES_COUNT"
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Zone       string
	PlatformId string
	DiskSizeGB string
	FolderId   string
	CoresCount string
	RAMSizeGB  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