types

package
v1.60.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 2 Imported by: 2

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
	IdentityEndpoint            providerconfigtypes.ConfigVarString `json:"identityEndpoint,omitempty"`
	Username                    providerconfigtypes.ConfigVarString `json:"username,omitempty"`
	Password                    providerconfigtypes.ConfigVarString `json:"password,omitempty"`
	ApplicationCredentialID     providerconfigtypes.ConfigVarString `json:"applicationCredentialID,omitempty"`
	ApplicationCredentialSecret providerconfigtypes.ConfigVarString `json:"applicationCredentialSecret,omitempty"`
	DomainName                  providerconfigtypes.ConfigVarString `json:"domainName,omitempty"`
	ProjectName                 providerconfigtypes.ConfigVarString `json:"projectName,omitempty"`
	ProjectID                   providerconfigtypes.ConfigVarString `json:"projectID,omitempty"`
	TenantName                  providerconfigtypes.ConfigVarString `json:"tenantName,omitempty"`
	TenantID                    providerconfigtypes.ConfigVarString `json:"tenantID,omitempty"`
	TokenID                     providerconfigtypes.ConfigVarString `json:"tokenId,omitempty"`
	Region                      providerconfigtypes.ConfigVarString `json:"region,omitempty"`
	InstanceReadyCheckPeriod    providerconfigtypes.ConfigVarString `json:"instanceReadyCheckPeriod,omitempty"`
	InstanceReadyCheckTimeout   providerconfigtypes.ConfigVarString `json:"instanceReadyCheckTimeout,omitempty"`
	ComputeAPIVersion           providerconfigtypes.ConfigVarString `json:"computeAPIVersion,omitempty"`

	// Machine details
	Image                 providerconfigtypes.ConfigVarString   `json:"image"`
	Flavor                providerconfigtypes.ConfigVarString   `json:"flavor"`
	SecurityGroups        []providerconfigtypes.ConfigVarString `json:"securityGroups,omitempty"`
	Network               providerconfigtypes.ConfigVarString   `json:"network,omitempty"`
	Subnet                providerconfigtypes.ConfigVarString   `json:"subnet,omitempty"`
	FloatingIPPool        providerconfigtypes.ConfigVarString   `json:"floatingIpPool,omitempty"`
	AvailabilityZone      providerconfigtypes.ConfigVarString   `json:"availabilityZone,omitempty"`
	TrustDevicePath       providerconfigtypes.ConfigVarBool     `json:"trustDevicePath"`
	RootDiskSizeGB        *int                                  `json:"rootDiskSizeGB"`
	RootDiskVolumeType    providerconfigtypes.ConfigVarString   `json:"rootDiskVolumeType,omitempty"`
	NodeVolumeAttachLimit *uint                                 `json:"nodeVolumeAttachLimit"`
	ServerGroup           providerconfigtypes.ConfigVarString   `json:"serverGroup"`
	ConfigDrive           providerconfigtypes.ConfigVarBool     `json:"configDrive,omitempty"`
	// This tag is related to server metadata, not compute server's tag
	Tags map[string]string `json:"tags,omitempty"`
}

func GetConfig added in v1.60.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