package
5.1.2-bit
Repository: https://github.com/adifri/postgres-operator.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AdditionalConfigVolumeMount returns the name and mount path of the additional config files.
ConfigDirectory returns the absolute path to $PGDATA for cluster.
CreateDatabasesInPostgreSQL calls exec to create databases that do not exist in PostgreSQL.
DataDirectory returns the absolute path to the "data_directory" of cluster.
DataVolumeMount returns the name and mount path of the PostgreSQL data volume.
DownwardAPIVolumeMount returns the name and mount path of the DownwardAPI volume.
Environment returns the environment variables required to invoke PostgreSQL utilities.
InstancePod initializes outInstancePod with the database container and the volumes needed by PostgreSQL.
NewHBA returns an HBA record that matches all databases, networks, and users.
NewHBAs returns HostBasedAuthentication records required by this package.
NewParameters returns ParameterSets required by this package.
NewParameterSet returns an empty ParameterSet.
PodSecurityContext returns a v1.PodSecurityContext for cluster that can write to PersistentVolumes.
WALDirectory returns the absolute path to the directory where an instance stores its WAL files.
WALVolumeMount returns the name and mount path of the PostgreSQL WAL volume.
WriteUsersInPostgreSQL calls exec to create users that do not exist in PostgreSQL.
# Constants
ReplicationUser is the PostgreSQL role that will be created by Patroni for streaming replication and for `pg_rewind`.
SocketDirectory is where to bind and connect to UNIX sockets.
# Structs
HBAs is a pairing of HostBasedAuthentication records.
HostBasedAuthentication represents a single record for pg_hba.conf.
Parameters is a pairing of ParameterSets.
ParameterSet is a collection of PostgreSQL parameters.
# Type aliases
Executor provides methods for calling "psql".