Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDatabaseConnect = errors.New("can't connect to database")
Functions ¶
This section is empty.
Types ¶
type UserReconciler ¶
type UserReconciler struct { client.Client Scheme *runtime.Scheme DatabaseCreator databaseCreator Recorder record.EventRecorder }
UserReconciler reconciles a User object.
func (*UserReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*UserReconciler) SetupWithManager ¶
func (r *UserReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.