openstack

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: 14 Imported by: 0

Documentation

Overview

Package openstack generates Machine objects for openstack.

Package openstack generates Machine objects for openstack.

Index

Constants

View Source
const (

	// CloudName is a constant containing the name of the cloud used in the internal cloudsSecret
	CloudName = "openstack"
)

Variables

This section is empty.

Functions

func ConfigMasters

func ConfigMasters(machines []machineapi.Machine, clusterID string)

ConfigMasters sets the PublicIP flag and assigns a set of load balancers to the given machines

func MachineSets

func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string, clientOpts *clientconfig.ClientOpts) ([]*clusterapi.MachineSet, error)

MachineSets returns the MachineSets encoded by the given machine-pool. The number of returned MachineSets, while being capped to the number of replicas, depends on the variable-length fields in the machine-pool. Each MachineSet generates a set of identical Machines; to encode for Machines spread on, say, three availability zones, three MachineSets must be produced. Note that for each variable-length field (currently: Compute availability zones, Storage availability zones and Root volume types), when more than one is specified, values of identical index are grouped in the same MachineSet.

func Machines

func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string) ([]machineapi.Machine, *machinev1.ControlPlaneMachineSet, error)

Machines returns a list of machines for a machinepool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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