openstackcloudprovider

package
v0.2.44 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCloudConfiguration is returned when the cloud configuration is not
	// correctly formatted.
	ErrCloudConfiguration = errors.New("invalid cloud configuration")
)

Functions

func GenerateCloudConfig

func GenerateCloudConfig(options *kubernetesprovisioners.ClusterOpenstackOptions) (string, error)

GenerateCloudConfig does the horrific translation between the myriad ways that OpenStack deems necessary to authenticate to the cloud configuration format. See: https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/openstack-cloud-controller-manager/using-openstack-cloud-controller-manager.md#config-openstack-cloud-controller-manager

func New

New returns a new initialized provisioner object.

Types

type Provisioner

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

Provisioner encapsulates control plane provisioning.

func (*Provisioner) Values

func (p *Provisioner) Values(ctx context.Context, _ *string) (interface{}, error)

Generate implements the application.Generator interface. Note there is an option, to just pass through the clouds.yaml file, however the chart doesn't allow it to be exposed so we need to translate between formats.

Jump to

Keyboard shortcuts

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