Documentation ¶
Overview ¶
Package azure generates Machine objects for azure.
Package azure generates Machine objects for azure.
Index ¶
- func CapzTagsFromUserTags(clusterID string, usertags map[string]string) (capz.Tags, error)
- func ConfigMasters(machines []machineapi.Machine, controlPlane *machinev1.ControlPlaneMachineSet, ...) error
- func GenerateMachines(clusterID, resourceGroup, subscriptionID string, in *MachineInput) ([]*asset.RuntimeFile, error)
- 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)
- type MachineInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapzTagsFromUserTags ¶ added in v0.90.0
CapzTagsFromUserTags converts a map of user tags to a map of capz.Tags.
func ConfigMasters ¶
func ConfigMasters(machines []machineapi.Machine, controlPlane *machinev1.ControlPlaneMachineSet, clusterID string) error
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(clusterID, resourceGroup, subscriptionID string, in *MachineInput) ([]*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, osImage, role, userDataSecret string, capabilities map[string]string, useImageGallery bool) ([]*clusterapi.MachineSet, error)
MachineSets returns a list of machinesets for a machinepool.
func Machines ¶
func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string, capabilities map[string]string, useImageGallery bool) ([]machineapi.Machine, *machinev1.ControlPlaneMachineSet, error)
Machines returns a list of machines for a machinepool.
Types ¶
type MachineInput ¶ added in v0.90.17
type MachineInput struct { Subnet string Role string UserDataSecret string HyperVGen string UseImageGallery bool Private bool UserTags map[string]string Platform *azure.Platform Pool *types.MachinePool }
MachineInput defines the inputs needed to generate a machine asset.
Click to show internal directories.
Click to hide internal directories.