Documentation ¶
Overview ¶
Package openstack generates Machine objects for openstack.
Package openstack generates Machine objects for openstack.
Index ¶
- Constants
- func ConfigMasters(machines []machineapi.Machine, clusterID string)
- func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, ...) ([]*clusterapi.MachineSet, error)
- func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, ...) ([]machineapi.Machine, *machinev1.ControlPlaneMachineSet, error)
Constants ¶
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.