controllers

package
v0.0.0-...-8028b39 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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