sync

package
v3.15.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder

type Adder struct {
	CacheManager *cachemanager.CacheManager
	Events       <-chan event.GenericEvent
}

func (*Adder) Add

func (a *Adder) Add(mgr manager.Manager) error

Add creates a new Sync Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

type ReconcileSync

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

ReconcileSync reconciles an arbitrary object described by Kind.

func (*ReconcileSync) Reconcile

func (r *ReconcileSync) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for an object and makes changes based on the state read and what is in the constraint.Spec.

Jump to

Keyboard shortcuts

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