reconciler

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	GroupKind      schema.GroupKind
	NamespacedName types.NamespacedName
}

func KeyForObject

func KeyForObject(obj Object) Key

func (Key) String

func (k Key) String() string

func (Key) WithNamespace

func (k Key) WithNamespace(namespace string) Key

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 Object

type Object interface {
	GetName() string
	GetNamespace() string
	GetObjectKind() schema.ObjectKind
}

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 Key, obj types.NamespacedName)
	TrackKind(kind schema.GroupKind, obj types.NamespacedName)
	OnChanged(obj interface{})
}

Directories

Path Synopsis
buildfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
buildpackfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
clusterbuildpackfakes
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