Documentation ¶
Index ¶
- Constants
- func DefaultClientOpts(cloudName string) *clientconfig.ClientOpts
- func DefaultComputeAZ() string
- func DefaultRootVolumeAZ() string
- func NewServiceClient(service string, opts *clientconfig.ClientOpts) (*gophercloud.ServiceClient, error)
- func SetPlatformDefaults(p *openstack.Platform, n *types.Networking)
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 ¶ added in v0.9.153
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 NewServiceClient ¶ added in v0.9.153
func NewServiceClient(service string, opts *clientconfig.ClientOpts) (*gophercloud.ServiceClient, error)
NewServiceClient is a wrapper around Gophercloud's NewServiceClient that ensures we consistently set a user-agent.
func SetPlatformDefaults ¶
func SetPlatformDefaults(p *openstack.Platform, n *types.Networking)
SetPlatformDefaults sets the defaults for the platform.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.