reconciler

package
v1.4.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultReconcileInterval is the default interval between periodic full
	// reconciliations done for safety, catching anything missed due to dropped
	// events or transient failures.
	DefaultReconcileInterval = 5 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler synchronizes desired state from CloudSecure with actual state in Kubernetes.

func NewReconciler

func NewReconciler(
	logger *zap.Logger,
	client k8sclient.Client,
	configCache *cache.ConfiguredObjectCache,
	runtimeCache *cache.ConfiguredObjectCache,
) *Reconciler

NewReconciler creates a new reconciler.

func (*Reconciler) Run

func (r *Reconciler) Run(ctx context.Context)

Run discovers API resources, waits for the config cache to be ready, and runs the reconciliation loop. It blocks until the context is cancelled.

Jump to

Keyboard shortcuts

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