reconciler

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler added in v0.0.1

func Handler(h func(interface{})) cache.ResourceEventHandler

Types

type NetworkError

type NetworkError struct {
	Err error
}

func (*NetworkError) Error

func (e *NetworkError) Error() string

type NetworkErrorReconciler

type NetworkErrorReconciler struct {
	Reconciler controller.Reconciler
}

func (*NetworkErrorReconciler) Reconcile

func (r *NetworkErrorReconciler) Reconcile(ctx context.Context, key string) error

type Options

type Options struct {
	Logger *zap.SugaredLogger

	Client                  versioned.Interface
	ResyncPeriod            time.Duration
	SourcePollingFrequency  time.Duration
	BuilderPollingFrequency time.Duration
}

func (Options) TrackerResyncPeriod

func (o Options) TrackerResyncPeriod() time.Duration

type Tracker

type Tracker interface {
	Track(ref metav1.ObjectMetaAccessor, obj types.NamespacedName) error
	OnChanged(obj interface{})
}

Directories

Path Synopsis
buildfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
clusterstackfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
clusterstorefakes
Code generated by counterfeiter.
Code generated by counterfeiter.
sourceresolverfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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