Documentation ¶
Overview ¶
Package vsphere generates Machine objects for vsphere.
Package vsphere generates Machine objects for vsphere.package vsphere
Index ¶
- func ConfigMasters(machines []machineapi.Machine, clusterID string)
- func GenerateMachines(ctx context.Context, clusterID string, config *types.InstallConfig, ...) ([]*asset.RuntimeFile, error)
- func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, ...) ([]*machineapi.MachineSet, error)
- func ProviderSpecFromRawExtension(rawExtension *runtime.RawExtension) (*machinev1.VSphereMachineProviderSpec, error)
- type MachineData
Constants ¶
This section is empty.
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 GenerateMachines ¶ added in v0.90.0
func GenerateMachines(ctx context.Context, clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage string, role string, metadata *vsphere.Metadata) ([]*asset.RuntimeFile, error)
GenerateMachines returns a list of capi machines.
func MachineSets ¶
func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string) ([]*machineapi.MachineSet, error)
MachineSets returns a list of machinesets for a machinepool.
func ProviderSpecFromRawExtension ¶ added in v0.90.0
func ProviderSpecFromRawExtension(rawExtension *runtime.RawExtension) (*machinev1.VSphereMachineProviderSpec, error)
ProviderSpecFromRawExtension unmarshals the JSON-encoded spec.
Types ¶
type MachineData ¶ added in v0.90.0
type MachineData struct { Machines []machineapi.Machine ControlPlaneMachineSet *machinev1.ControlPlaneMachineSet IPClaims []ipamv1.IPAddressClaim IPAddresses []ipamv1.IPAddress }
MachineData contains all result output from the Machines() function.
func Machines ¶
func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string) (*MachineData, error)
Machines returns a list of machines for a machinepool.
Click to show internal directories.
Click to hide internal directories.