external

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package external contains the functions needed to manage servers which are external to this PostgreSQL cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureConnectionToServer

func ConfigureConnectionToServer(
	ctx context.Context,
	client ctrl.Client,
	namespace string,
	server *apiv1.ExternalCluster,
) (string, error)

ConfigureConnectionToServer creates a connection string to the external server, using the configuration inside the cluster and dumping the secret when needed in a custom passfile. Returns a connection string or any error encountered

Types

This section is empty.

Directories

Path Synopsis
internal
pgpass
Package pgpass allows the user to generate a PostgreSQL .pgpass file See: https://www.postgresql.org/docs/current/libpq-pgpass.html
Package pgpass allows the user to generate a PostgreSQL .pgpass file See: https://www.postgresql.org/docs/current/libpq-pgpass.html

Jump to

Keyboard shortcuts

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