crds

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNINodeReconciler

type CNINodeReconciler struct {
	client.Client
	Scheme           *runtime.Scheme
	Context          context.Context
	Log              logr.Logger
	EC2Wrapper       ec2API.EC2Wrapper
	K8sAPI           k8s.K8sWrapper
	ClusterName      string
	VPCID            string
	FinalizerManager k8s.FinalizerManager
}

CNINodeReconciler reconciles a CNINode object

func (*CNINodeReconciler) Reconcile

func (r *CNINodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

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) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL