controllers

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(scheme *runtime.Scheme)

func ToAggregate

func ToAggregate(list []error) utilerrors.Aggregate

ToAggregate converts the ErrorList into an errors.Aggregate.

Types

type Reconciler

type Reconciler struct {
	client.Client

	RetryCount    int
	MaxConcurrent int
	MetricsInfo   *metrics.MetricsInfo
	RateLimiter   ratelimiter.RateLimiter
	// contains filtered or unexported fields
}

Reconciler reconciles a Service object

func (*Reconciler) Reconcile

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

func (*Reconciler) SetupWithManager

func (c *Reconciler) SetupWithManager(mgr ctrl.Manager) error

type ResourceChangedPredicate

type ResourceChangedPredicate struct {
	predicate.Funcs
}

func (*ResourceChangedPredicate) Create

func (*ResourceChangedPredicate) Delete

Delete returns true if the Delete event should be processed

func (*ResourceChangedPredicate) Generic

Generic returns true if the Generic event should be processed

func (*ResourceChangedPredicate) Update

Jump to

Keyboard shortcuts

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