defaults

package
v1.4.14 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 35 modules, 35 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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