defaults

package
v0.0.0-...-c53fdc3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultCloudName is the default name of the cloud in clouds.yaml file.
	DefaultCloudName = "openstack"
	// DualStackVIPsPortTag is the identifier of VIPs Port with dual-stack addresses.
	DualStackVIPsPortTag = "-dual-stack-vips-port"
)

Variables

This section is empty.

Functions

func DefaultClientOpts

func DefaultClientOpts(cloudName string) *clientconfig.ClientOpts

DefaultClientOpts generates default client opts based on cloud name

func DefaultComputeAZ

func DefaultComputeAZ() string

DefaultComputeAZ returns the default value for Compute availability zone.

func DefaultRootVolumeAZ

func DefaultRootVolumeAZ() string

DefaultRootVolumeAZ returns the default value for Root Volume availability zone.

func SetPlatformDefaults

func SetPlatformDefaults(p *openstack.Platform, n *types.Networking)

SetPlatformDefaults sets the defaults for the platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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