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

types

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 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 {
	Token                providerconfigtypes.ConfigVarString   `json:"token,omitempty"`
	ServerType           providerconfigtypes.ConfigVarString   `json:"serverType"`
	Datacenter           providerconfigtypes.ConfigVarString   `json:"datacenter"`
	Image                providerconfigtypes.ConfigVarString   `json:"image"`
	Location             providerconfigtypes.ConfigVarString   `json:"location"`
	PlacementGroupPrefix providerconfigtypes.ConfigVarString   `json:"placementGroupPrefix"`
	Networks             []providerconfigtypes.ConfigVarString `json:"networks"`
	Firewalls            []providerconfigtypes.ConfigVarString `json:"firewalls"`
	Labels               map[string]string                     `json:"labels,omitempty"`
	AssignPublicIPv4     providerconfigtypes.ConfigVarBool     `json:"assignPublicIPv4,omitempty"`
	AssignPublicIPv6     providerconfigtypes.ConfigVarBool     `json:"assignPublicIPv6,omitempty"`
}

func GetConfig added in v1.44.0

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