externalservers

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package externalservers contains the reconciler of external servers, taking care of enabling connectivity to every server defined in the relative section of the CR

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler is a Kubernetes controller that ensures pgpass file for external servers is synchronized

func NewReconciler

func NewReconciler(instance *postgres.Instance, client client.Client) *Reconciler

NewReconciler creates a new ExternalServerReconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(
	ctx context.Context,
	_ reconcile.Request,
) (reconcile.Result, error)

Reconcile is the main reconciliation loop for the instance

func (*Reconciler) SetupWithManager

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