types

package
v0.0.0-...-7b24307 Latest Latest
Warning

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

Go to latest
Published: Feb 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

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