Versions in this module Expand all Collapse all v0 v0.4.1 Aug 31, 2021 Changes in this version + type ReconciliationResult struct + Hooks []*unstructured.Unstructured + Live []*unstructured.Unstructured + Target []*unstructured.Unstructured + func Reconcile(targetObjs []*unstructured.Unstructured, ...) ReconciliationResult + type SyncContext interface + GetState func() (common.OperationPhase, string, []common.ResourceSyncResult) + Sync func() + Terminate func() + func NewSyncContext(revision string, reconciliationResult ReconciliationResult, ...) (SyncContext, func(), error) + type SyncOpt func(ctx *syncContext) + func WithHealthOverride(override health.HealthOverride) SyncOpt + func WithInitialState(phase common.OperationPhase, message string, ...) SyncOpt + func WithLogr(log logr.Logger) SyncOpt + func WithManifestValidation(enabled bool) SyncOpt + func WithNamespaceCreation(createNamespace bool, namespaceModifier func(*unstructured.Unstructured) bool) SyncOpt + func WithOperationSettings(dryRun bool, prune bool, force bool, skipHooks bool) SyncOpt + func WithPermissionValidator(validator common.PermissionValidator) SyncOpt + func WithPrune(prune bool) SyncOpt + func WithPruneLast(enabled bool) SyncOpt + func WithPrunePropagationPolicy(policy *metav1.DeletionPropagation) SyncOpt + func WithReplace(replace bool) SyncOpt + func WithResourceModificationChecker(enabled bool, diffResults *diff.DiffResultList) SyncOpt + func WithResourcesFilter(...) SyncOpt + func WithSkipHooks(skipHooks bool) SyncOpt + func WithSyncWaveHook(syncWaveHook common.SyncWaveHook) SyncOpt