vshnpostgresqlcontroller

package
v4.78.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL