vshnmariadbcontroller

package
v4.70.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 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 VSHNMariaDBReconciler

type VSHNMariaDBReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	ProbeManager       probeManager
	StartupGracePeriod time.Duration
	MariaDBDialer      func(service, name, namespace, dsn, organization, serviceLevel, caCRT string, ha, TLSEnabled bool) (*probes.MariaDB, error)
}

VSHNMariaDBReconciler reconciles a VSHNMariaDB object

func (*VSHNMariaDBReconciler) Reconcile

func (r *VSHNMariaDBReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile start or stops a prober for a VSHNMariaDB instance. Will only probe an instance once it is ready or after the StartupGracePeriod.

func (*VSHNMariaDBReconciler) SetupWithManager

func (r *VSHNMariaDBReconciler) 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