Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
Reconciler reconciles a ENoExecEvent object
func NewReconciler ¶
func NewReconciler(client client.Client, clientSet *kubernetes.Clientset, scheme *runtime.Scheme, recorder record.EventRecorder) *Reconciler
func (*Reconciler) Reconcile ¶
Reconcile will reconcile the ENoExecEvent resource. It will fetch the ENoExecEvent instance, retrieve the pod and node information, label the pod with the ENoExecEvent label, update the metrics, and publish an event. Finally, it will delete the ENoExecEvent resource if the reconciliation was successful or if the pod was not found.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.