openstack

package
v1.4.19-ec5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudProviderConfigSecret

func CloudProviderConfigSecret(cloud *clientconfig.Cloud) ([]byte, error)

CloudProviderConfigSecret generates the cloud provider config for the OpenStack platform, that will be stored in the system secret. TODO: I think this is crud for the legacy cloud-provider and is no longer needed. Burn it with fire?

func GenerateCloudProviderConfig

func GenerateCloudProviderConfig(ctx context.Context, installConfig types.InstallConfig) (cloudProviderConfigData, cloudProviderConfigCABundleData string, err error)

GenerateCloudProviderConfig adds the cloud provider config for the OpenStack platform in the provided configmap.

func GenerateClusterAssets added in v0.90.0

func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID *installconfig.ClusterID) (*capiutils.GenerateClusterAssetsOutput, error)

GenerateClusterAssets generates the cluster manifests for the cluster-api.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

Error represents a failure while generating OpenStack provider configuration.

func (Error) Error

func (e Error) Error() string

func (Error) Unwrap

func (e Error) Unwrap() error

Jump to

Keyboard shortcuts

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