standalone_pgadmin

package
v0.0.0-...-a8de8d5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor func(
	ctx context.Context, stdin io.Reader, stdout, stderr io.Writer, command ...string,
) error

type PGAdminReconciler

type PGAdminReconciler struct {
	client.Client
	Owner   client.FieldOwner
	PodExec func(
		ctx context.Context, namespace, pod, container string,
		stdin io.Reader, stdout, stderr io.Writer, command ...string,
	) error
	Recorder    record.EventRecorder
	IsOpenShift bool
}

PGAdminReconciler reconciles a PGAdmin object

func (*PGAdminReconciler) Reconcile

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

Reconcile which aims to move the current state of the pgAdmin closer to the desired state described in a v1beta1.PGAdmin identified by request.

func (*PGAdminReconciler) SetupWithManager

func (r *PGAdminReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

TODO(tjmoore4): This function is duplicated from a version that takes a PostgresCluster object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳