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

types

package
v1.58.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawConfig

type RawConfig struct {
	// Auth details
	Username providerconfigtypes.ConfigVarString `json:"username,omitempty"`
	Password providerconfigtypes.ConfigVarString `json:"password,omitempty"`
	Endpoint providerconfigtypes.ConfigVarString `json:"endpoint,omitempty"`

	// Machine details
	CPU             *float64                            `json:"cpu"`
	VCPU            *int                                `json:"vcpu"`
	Memory          *int                                `json:"memory"`
	Image           providerconfigtypes.ConfigVarString `json:"image"`
	Datastore       providerconfigtypes.ConfigVarString `json:"datastore"`
	DiskSize        *int                                `json:"diskSize"`
	Network         providerconfigtypes.ConfigVarString `json:"network"`
	EnableVNC       providerconfigtypes.ConfigVarBool   `json:"enableVNC"`
	VMTemplateExtra map[string]string                   `json:"vmTemplateExtra,omitempty"`
}

func GetConfig

func GetConfig(pconfig providerconfigtypes.Config) (*RawConfig, error)

Jump to

Keyboard shortcuts

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