controller

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FinalizerName is the name of the finalizer used by controllers.
	FinalizerName = "ldap.gpu-ninja.com/finalizer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LDAPDirectoryReconciler

type LDAPDirectoryReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

func (*LDAPDirectoryReconciler) Reconcile

func (r *LDAPDirectoryReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*LDAPDirectoryReconciler) SetupWithManager

func (r *LDAPDirectoryReconciler) SetupWithManager(mgr ctrl.Manager) error

type LDAPObjectReconciler

type LDAPObjectReconciler[T api.LDAPObject, E ldap.Entry] struct {
	client.Client
	Scheme            *runtime.Scheme
	Recorder          record.EventRecorder
	LDAPClientBuilder ldap.ClientBuilder
	MapToEntry        mapper.Mapper[T, E]
}

func (*LDAPObjectReconciler[T, E]) Reconcile

func (r *LDAPObjectReconciler[T, E]) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*LDAPObjectReconciler[T, E]) SetupWithManager

func (r *LDAPObjectReconciler[T, E]) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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