Documentation
¶
Overview ¶
Package reconciler provides a common base for GitOps reconciliation clients.
This package contains shared utilities and base types used by both Flux and ArgoCD reconcilers, reducing code duplication and ensuring consistent behavior across GitOps engines.
The package provides:
- Base struct for building dynamic Kubernetes clients
- Common error handling patterns for reconciliation operations
- Shared timeout and polling configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
Base provides shared functionality for GitOps reconcilers. It holds a dynamic Kubernetes client that can be used to interact with custom resources from different GitOps engines.
func NewBase ¶
NewBase creates a new Base reconciler with a dynamic client from kubeconfig. The dynamic client is configured for the default context in the kubeconfig.
func NewBaseWithClient ¶
NewBaseWithClient creates a Base with a provided dynamic client (for testing).