Documentation ¶
Index ¶
- type EventType
- type KymaWatcherReconciler
- func (r *KymaWatcherReconciler) CreateFunc(e event.CreateEvent, q workqueue.RateLimitingInterface)
- func (r *KymaWatcherReconciler) DeleteFunc(e event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (r *KymaWatcherReconciler) GenericFunc(e event.GenericEvent, q workqueue.RateLimitingInterface)
- func (r *KymaWatcherReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *KymaWatcherReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *KymaWatcherReconciler) UpdateFunc(e event.UpdateEvent, q workqueue.RateLimitingInterface)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KymaWatcherReconciler ¶
type KymaWatcherReconciler struct { client.Client Scheme *runtime.Scheme Logger logr.Logger KcpIP string KcpPort string }
KymaWatcherReconciler reconciles a ConfigMap object.
func (*KymaWatcherReconciler) CreateFunc ¶
func (r *KymaWatcherReconciler) CreateFunc(e event.CreateEvent, q workqueue.RateLimitingInterface)
func (*KymaWatcherReconciler) DeleteFunc ¶
func (r *KymaWatcherReconciler) DeleteFunc(e event.DeleteEvent, q workqueue.RateLimitingInterface)
func (*KymaWatcherReconciler) GenericFunc ¶
func (r *KymaWatcherReconciler) GenericFunc(e event.GenericEvent, q workqueue.RateLimitingInterface)
func (*KymaWatcherReconciler) Reconcile ¶
func (r *KymaWatcherReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. the ConfigMap object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.2/pkg/reconcile
func (*KymaWatcherReconciler) SetupWithManager ¶
func (r *KymaWatcherReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*KymaWatcherReconciler) UpdateFunc ¶
func (r *KymaWatcherReconciler) UpdateFunc(e event.UpdateEvent, q workqueue.RateLimitingInterface)
Click to show internal directories.
Click to hide internal directories.