reconcile

package
v1.13.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

Worker pulls objects from a work queue and passes them to its reconciler for remediation.

func NewWorker

func NewWorker(scope declared.Scope, syncName string, a syncerreconcile.Applier, q *queue.ObjectQueue, d *declared.Resources) *Worker

NewWorker returns a new Worker for the given queue and declared resources.

func (*Worker) Run

func (w *Worker) Run(ctx context.Context)

Run starts the Worker pulling objects from its queue for remediation. This call blocks until the given context is cancelled.

Jump to

Keyboard shortcuts

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