base

package
v0.0.0-...-e73b65a Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FastReQ = time.Millisecond * 500
	SlowReQ = time.Second * 3
	LongReQ = time.Second * 30
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	record.EventRecorder
	client.Client
	Log *logging.Logger
}

Base reconciler.

func (*Reconciler) Ended

func (r *Reconciler) Ended(reQin time.Duration, err error) (reQ time.Duration)

Reconcile ended.

func (*Reconciler) Record

func (r *Reconciler) Record(object runtime.Object, cnd libcnd.Conditions)

Record for changes in conditions. Logged and recorded as `Event`.

func (*Reconciler) Started

func (r *Reconciler) Started()

Reconcile started.

Jump to

Keyboard shortcuts

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