Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VSHNPostgreSQLReconciler ¶
type VSHNPostgreSQLReconciler struct { client.Client Scheme *runtime.Scheme ProbeManager probeManager StartupGracePeriod time.Duration PostgreDialer func(service, name, namespace, dsn, organization, serviceLevel string, ha bool, ops ...func(*pgxpool.Config) error) (*probes.PostgreSQL, error) }
VSHNPostgreSQLReconciler reconciles a VSHNPostgreSQL object
func (*VSHNPostgreSQLReconciler) Reconcile ¶
func (r *VSHNPostgreSQLReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile start or stops a prober for a VSHNPostgreSQL instance. Will only probe an instance once it is ready or after the StartupGracePeriod.
func (*VSHNPostgreSQLReconciler) SetupWithManager ¶
func (r *VSHNPostgreSQLReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.