controllers

package
v0.0.0-...-e5e5886 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-2-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PatroniPostgresReconciler

type PatroniPostgresReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Clientset *kubernetes.Clientset
}

PatroniPostgresReconciler reconciles a PatroniPostgres object

func (*PatroniPostgresReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*PatroniPostgresReconciler) SetupWithManager

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