Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNINodeReconciler ¶
CNINodeReconciler reconciles a CNINode object
func NewCNINodeReconciler ¶ added in v1.7.0
func NewCNINodeReconciler( client client.Client, scheme *runtime.Scheme, ctx context.Context, logger logr.Logger, ec2Wrapper ec2API.EC2Wrapper, k8sWrapper k8s.K8sWrapper, clusterName string, vpcId string, finalizerManager k8s.FinalizerManager, maxConcurrentWorkers int, newResourceCleaner func(nodeID string, eC2Wrapper ec2API.EC2Wrapper, vpcID string, log logr.Logger) cleanup.ResourceCleaner, ) *CNINodeReconciler
func (*CNINodeReconciler) Reconcile ¶
Reconcile handles CNINode create/update/delete events Reconciler will add the finalizer and cluster name tag if it does not exist and finalize on CNINode on deletion to clean up leaked resource on node
func (*CNINodeReconciler) SetupWithManager ¶
func (r *CNINodeReconciler) SetupWithManager(mgr ctrl.Manager, maxNodeConcurrentReconciles int) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.