Help us shape the future of Go! Take the 2026 Go Developer Survey

types

package
v1.37.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnxTokenEnv = "ANEXIA_TOKEN"

	CreateRequestTimeout = 15 * time.Minute
	GetRequestTimeout    = 1 * time.Minute
	DeleteRequestTimeout = 1 * time.Minute

	VmxNet3NIC       = "vmxnet3"
	MachinePoweredOn = "poweredOn"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderStatus

type ProviderStatus struct {
	InstanceID     string `json:"instanceID"`
	ProvisioningID string `json:"provisioningID"`
}

type RawConfig

type RawConfig struct {
	Token      providerconfigtypes.ConfigVarString `json:"token,omitempty"`
	VlanID     providerconfigtypes.ConfigVarString `json:"vlanID"`
	LocationID providerconfigtypes.ConfigVarString `json:"locationID"`
	TemplateID providerconfigtypes.ConfigVarString `json:"templateID"`
	CPUs       int                                 `json:"cpus"`
	Memory     int                                 `json:"memory"`
	DiskSize   int                                 `json:"diskSize"`
}

Jump to

Keyboard shortcuts

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