deactivation

package
v0.0.0-...-e809054 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapUserSignupToMasterUserRecord

func MapUserSignupToMasterUserRecord() func(ctx context.Context, object runtimeclient.Object) []reconcile.Request

Types

type CreateAndUpdateOnlyPredicate

type CreateAndUpdateOnlyPredicate struct {
}

CreateAndUpdateOnlyPredicate will filter out all events except Create and Update

func (CreateAndUpdateOnlyPredicate) Create

Create implements Predicate

func (CreateAndUpdateOnlyPredicate) Delete

Delete implements Predicate

func (CreateAndUpdateOnlyPredicate) Generic

Generic implements Predicate

func (CreateAndUpdateOnlyPredicate) Update

Update implements default UpdateEvent filter for validating no generation change

type Reconciler

type Reconciler struct {
	Client runtimeclient.Client
	Scheme *runtime.Scheme
}

Reconciler reconciles a Deactivation object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads the state of the cluster for a MUR object and determines whether to trigger deactivation or requeue based on its current status Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue. nolint: gocyclo

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr manager.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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