reconcilers

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ReconcilerKey = "identity-manager.io/reconciler"

ReconcilerKey indicates reconciler annotation key

Variables

This section is empty.

Functions

func CanIgnore added in v1.1.0

func CanIgnore(o metav1.Object) bool

CanIgnore checks whether reconciler annotation is set to off.

func Reconcile

func Reconcile(ctx context.Context, base *ReconcilerBase, req ctrl.Request, res types.Resource, rec types.Reconciler) (ctrl.Result, error)

Reconcile calls the Reconciler

Types

type ReconcilerBase

type ReconcilerBase struct {
	// contains filtered or unexported fields
}

ReconcilerBase defines the base reconciler struct

func NewForManager

func NewForManager(name string, mgr manager.Manager, options *options.Options) *ReconcilerBase

NewForManager expects name and manager.Manager and returns *ReconcilerBase

func (*ReconcilerBase) Client

func (r *ReconcilerBase) Client() client.Client

Client returns the Client of the ReconcilerBase

func (*ReconcilerBase) Log

Log returns the Logger of the ReconcilerBase

func (*ReconcilerBase) Name

func (r *ReconcilerBase) Name() string

Name returns the Name of the ReconcilerBase

func (*ReconcilerBase) Options added in v1.1.0

func (r *ReconcilerBase) Options() *options.Options

Options returns Options from the ReconcilerBase

func (*ReconcilerBase) Scheme

func (r *ReconcilerBase) Scheme() *runtime.Scheme

Scheme returns the Scheme of the ReconcilerBase

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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