Documentation ¶
Index ¶
- type SplunkForwarderReconciler
- func (r *SplunkForwarderReconciler) CheckGenerationVersionOlder(annontations map[string]string, instance *sfv1alpha1.SplunkForwarder) bool
- func (r *SplunkForwarderReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *SplunkForwarderReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SplunkForwarderReconciler ¶
type SplunkForwarderReconciler struct { Client client.Client Scheme *runtime.Scheme ReqLogger logr.Logger }
SplunkForwarderReconciler reconciles a SplunkForwarder object
func (*SplunkForwarderReconciler) CheckGenerationVersionOlder ¶
func (r *SplunkForwarderReconciler) CheckGenerationVersionOlder(annontations map[string]string, instance *sfv1alpha1.SplunkForwarder) bool
CheckGenerationVersionOlder is a function that checks against an annontations map with a splunk forwarder instance to compare the saved generation to the CR generation
func (*SplunkForwarderReconciler) Reconcile ¶
func (r *SplunkForwarderReconciler) Reconcile(ctx context.Context, request 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.
func (*SplunkForwarderReconciler) SetupWithManager ¶
func (r *SplunkForwarderReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.