controllers

package
v0.2.2-rc9 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 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
	Logger   logr.Logger
	Recorder record.EventRecorder

	RetryCount  int
	WorkNum     int
	MetricsInfo *metrics.MetricsInfo
	// 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

func (*Reconciler) Update

func (c *Reconciler) Update(ctx context.Context, obj client.Object) (ctrl.Result, error)

func (*Reconciler) UpdateStatus

func (c *Reconciler) UpdateStatus(ctx context.Context, cep *v1beta1.ClusterEndpoint) (ctrl.Result, 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