Documentation ¶
Index ¶
- Constants
- type LoggingServiceReconciler
- func (r *LoggingServiceReconciler) Reconcile(context context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *LoggingServiceReconciler) ReconcileLoggingServiceCluster(ctx context.Context, customResourceInstance *loggingService.LoggingService, ...) bool
- func (r *LoggingServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const ( InitialTimeoutOnFailedReconcile = time.Second DefaultContainerRuntimeType = "containerd" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingServiceReconciler ¶
type LoggingServiceReconciler struct { Config *rest.Config Scheme *runtime.Scheme TimeoutOnFailedReconcile time.Duration Client client.Client Log logr.Logger StatusUpdater util.StatusUpdater DynamicParameters util.DynamicParameters }
func (*LoggingServiceReconciler) Reconcile ¶
func (r *LoggingServiceReconciler) Reconcile(context 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*LoggingServiceReconciler) ReconcileLoggingServiceCluster ¶
func (r *LoggingServiceReconciler) ReconcileLoggingServiceCluster(ctx context.Context, customResourceInstance *loggingService.LoggingService, clientSet kubernetes.Interface) bool
func (*LoggingServiceReconciler) SetupWithManager ¶
func (r *LoggingServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.