reconciliation

package
v1.1.0-beta19 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// predicates use by the networking reconciler.
	// exported for use in Enterprise.
	NetworkingReconcilePredicates = []predicate.Predicate{
		skv2predicate.SimplePredicate{
			Filter: skv2predicate.SimpleEventFilterFunc(isIgnoredSecret),
		},
	}
)

Functions

func Start

func Start(
	ctx context.Context,
	localBuilder input.LocalBuilder,
	remoteBuilder input.RemoteBuilder,
	applier apply.Applier,
	reporter reporting.Reporter,
	translator translation.Translator,
	registerReconciler RegisterReconcilerFunc,
	syncOutputs SyncOutputsFunc,
	mgmtClient client.Client,
	history *stats.SnapshotHistory,
	verboseMode bool,
	settingsRef *v1.ObjectRef,
	extensionClients extensions.Clientset,
	disallowIntersectingConfig bool,
	watchOutputTypes bool,
) error

Types

type RegisterReconcilerFunc added in v0.12.1

type RegisterReconcilerFunc func(
	ctx context.Context,
	reconcile skinput.SingleClusterReconcileFunc,
	reconcileOpts input.ReconcileOptions,
) (skinput.InputReconciler, error)

function which defines how the Networking reconciler should be registered with internal components.

type SyncOutputsFunc added in v0.12.1

type SyncOutputsFunc func(
	ctx context.Context,
	inputs input.LocalSnapshot,
	outputSnap *translation.Outputs,
	errHandler output.ErrorHandler,
) error

function which defines how the Networking reconciler should apply its output snapshots.

Jump to

Keyboard shortcuts

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