options

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AZURE_REGION          = "AZURE_REGION"
	AZURE_INSTANCE_SIZE   = "AZURE_INSTANCE_SIZE"
	AZURE_IMAGE           = "AZURE_IMAGE"
	AZURE_RESOURCE_GROUP  = "AZURE_RESOURCE_GROUP"
	AZURE_DISK_TYPE       = "AZURE_DISK_TYPE"
	AZURE_DISK_SIZE       = "AZURE_DISK_SIZE"
	AZURE_CUSTOM_DATA     = "AZURE_CUSTOM_DATA"
	AZURE_SUBSCRIPTION_ID = "AZURE_SUBSCRIPTION_ID"
	AZURE_TAGS            = "AZURE_TAGS"
)

Functions

func FromEnvOrError added in v0.0.5

func FromEnvOrError(name string) (string, error)

Types

type AzureImage

type AzureImage struct {
	Offer     string
	Publisher string
	SKU       string
	Version   string
}

type Options

type Options struct {
	DiskImage      AzureImage
	DiskSizeGB     int
	DiskType       string
	CustomData     string
	MachineFolder  string
	MachineID      string
	MachineType    string
	ResourceGroup  string
	SubscriptionID string
	Zone           string
	Tags           map[string]*string
}

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