Documentation ¶
Overview ¶
Package powervs generates Machine objects for powerVS.
Package powervs generates Machine objects for IBM Power VS.
Package powervs generates Machine objects for powerVS.
Index ¶
- func ConfigMasters(machines []machineapi.Machine, controlPlane *machinev1.ControlPlaneMachineSet, ...) error
- func GenerateCAPIMachine(clusterID string, name string, dataSecret string) *capi.Machine
- func GenerateMachine(ic *types.InstallConfig, service capibm.IBMPowerVSResourceReference, ...) *capibm.IBMPowerVSMachine
- func GenerateMachines(clusterID string, ic *types.InstallConfig, pool *types.MachinePool, ...) ([]*asset.RuntimeFile, error)
- func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, ...) ([]*machineapi.MachineSet, error)
- func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, ...) ([]machineapi.Machine, *machinev1.ControlPlaneMachineSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMasters ¶
func ConfigMasters(machines []machineapi.Machine, controlPlane *machinev1.ControlPlaneMachineSet, infraID string, publish types.PublishingStrategy) error
ConfigMasters sets the PublicIP flag and assigns a set of load balancers to the given machines.
func GenerateCAPIMachine ¶ added in v0.90.0
GenerateCAPIMachine creates a capi.Machine struct.
func GenerateMachine ¶ added in v0.90.0
func GenerateMachine(ic *types.InstallConfig, service capibm.IBMPowerVSResourceReference, mpool *powervs.MachinePool, name string, image string) *capibm.IBMPowerVSMachine
GenerateMachine creates a capibm.IBMPowerVSMachine struct.
func GenerateMachines ¶ added in v0.90.0
func GenerateMachines(clusterID string, ic *types.InstallConfig, pool *types.MachinePool, role string) ([]*asset.RuntimeFile, error)
GenerateMachines returns manifests and runtime objects to provision the control plane (including bootstrap, if applicable) nodes using CAPI.
func MachineSets ¶
func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, role, userDataSecret string) ([]*machineapi.MachineSet, error)
MachineSets returns a list of machinesets for a machinepool.
func Machines ¶
func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, role, userDataSecret string) ([]machineapi.Machine, *machinev1.ControlPlaneMachineSet, error)
Machines returns a list of machines for a machinepool.
Types ¶
This section is empty.