Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitSyncReconciler ¶
type GitSyncReconciler struct { ConfigManager *config.ConfigManager // contains filtered or unexported fields }
GitSyncReconciler reconciles a GitSync object
func NewGitSyncReconciler ¶
func NewGitSyncReconciler( client client.Client, s *runtime.Scheme, configManager *config.ConfigManager, syncer *sync.Syncer, ) (*GitSyncReconciler, error)
func (*GitSyncReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Note this method is called concurrently by multiple goroutines, whenever there is a change to the GitSync CRD
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile
func (*GitSyncReconciler) SetupWithManager ¶
func (r *GitSyncReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.