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.
Click to show internal directories.
Click to hide internal directories.