Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultBootstrapTokenTTL default ttl for bootstrap token DefaultBootstrapTokenTTL = 10 * time.Minute )
View Source
const ( // TagsLastAppliedAnnotation is the key for the machine object annotation // which tracks the SecurityGroups that the machine actuator is responsible // for. These are the SecurityGroups that have been handled by the // AdditionalTags in the Machine Provider Config. // See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ // for annotation formatting rules. TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-azure-last-applied-tags" )
Variables ¶
This section is empty.
Functions ¶
func GetControlPlaneMachines ¶
func GetControlPlaneMachines(machineList *clusterv1.MachineList) []*clusterv1.Machine
GetControlPlaneMachines retrieves all non-deleted control plane nodes from a MachineList
Types ¶
type AzureClusterReconciler ¶
type AzureClusterReconciler struct { client.Client Log logr.Logger Recorder record.EventRecorder ReconcileTimeout time.Duration }
AzureClusterReconciler reconciles a AzureCluster object
func (*AzureClusterReconciler) SetupWithManager ¶
func (r *AzureClusterReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type AzureMachineReconciler ¶
type AzureMachineReconciler struct { client.Client Log logr.Logger Recorder record.EventRecorder ReconcileTimeout time.Duration }
AzureMachineReconciler reconciles a AzureMachine object
func (*AzureMachineReconciler) AzureClusterToAzureMachines ¶
func (r *AzureMachineReconciler) AzureClusterToAzureMachines(o handler.MapObject) []ctrl.Request
AzureClusterToAzureMachines is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation of AzureMachines.
func (*AzureMachineReconciler) SetupWithManager ¶
func (r *AzureMachineReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
Click to show internal directories.
Click to hide internal directories.