controllers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 45 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 added in v0.0.8

func ToAggregate(list []error) utilerrors.Aggregate

ToAggregate converts the ErrorList into an errors.Aggregate.

Types

type Reconciler added in v0.0.3

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) Delete added in v0.0.3

func (*Reconciler) Reconcile added in v0.0.3

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

func (*Reconciler) SetupWithManager added in v0.0.3

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

func (*Reconciler) Update added in v0.0.3

func (*Reconciler) UpdateStatus added in v0.0.3

func (c *Reconciler) UpdateStatus(ctx context.Context, req ctrl.Request, cep *v1beta1.ClusterEndpoint) (ctrl.Result, error)

type ResourceChangedPredicate added in v0.0.3

type ResourceChangedPredicate struct {
	predicate.Funcs
}

func (*ResourceChangedPredicate) Create added in v0.0.3

func (*ResourceChangedPredicate) Delete added in v0.0.3

Delete returns true if the Delete event should be processed

func (*ResourceChangedPredicate) Generic added in v0.0.3

Generic returns true if the Generic event should be processed

func (*ResourceChangedPredicate) Update added in v0.0.3

Jump to

Keyboard shortcuts

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