config

package
v2.7.1-0...-d77f34b Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchKeyCommand

func FetchKeyCommand(spec *v1beta1.PostgresClusterSpec) string

FetchKeyCommand returns the fetch_key_cmd value stored in the encryption_key_command variable used to enable TDE.

func PGAdminContainerImage

func PGAdminContainerImage(cluster *v1beta1.PostgresCluster) string

PGAdminContainerImage returns the container image to use for pgAdmin.

func PGBackRestContainerImage

func PGBackRestContainerImage(cluster *v1beta1.PostgresCluster) string

PGBackRestContainerImage returns the container image to use for pgBackRest.

func PGBouncerContainerImage

func PGBouncerContainerImage(cluster *v1beta1.PostgresCluster) string

PGBouncerContainerImage returns the container image to use for pgBouncer.

func PGExporterContainerImage

func PGExporterContainerImage(cluster *v1beta1.PostgresCluster) string

PGExporterContainerImage returns the container image to use for the PostgreSQL Exporter.

func PGONamespace

func PGONamespace() string

PGONamespace returns the namespace where the PGO is running, based on the env var from the DownwardAPI If no env var is found, returns ""

func PostgresContainerImage

func PostgresContainerImage(cluster *v1beta1.PostgresCluster) string

PostgresContainerImage returns the container image to use for PostgreSQL. Made as a wrapper of PostgresContainerImageString for compat reasons

func PostgresContainerImageString

func PostgresContainerImageString(image string, postgresVersion int, postGISVersion string) string

PostgresContainerImageString returns the container image to use for PostgreSQL (from string params). This func copies logic from original PostgresContainerImage as is, leaving PostgresContainerImage as a wrapper for upstream compatibility

func StandalonePGAdminContainerImage

func StandalonePGAdminContainerImage(pgadmin *v1beta1.PGAdmin) string

StandalonePGAdminContainerImage returns the container image to use for pgAdmin.

func VerifyImageValues

func VerifyImageValues(cluster *v1beta1.PostgresCluster) error

VerifyImageValues checks that all container images required by the spec are defined. If any are undefined, a list is returned in an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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