Versions in this module Expand all Collapse all v2 v2.8.0 Nov 12, 2025 Changes in this version + const IANAPortNumber + const IANAServiceName + const ReplicationUser + const SocketDirectory + var RESERVED_SCHEMA_NAMES = map[string]bool + func AdditionalConfigVolumeMount() corev1.VolumeMount + func ConfigDirectory(cluster *v1beta1.PostgresCluster) string + func CreateDatabasesInPostgreSQL(ctx context.Context, exec Executor, databases []string) error + func DataDirectory(cluster *v1beta1.PostgresCluster) string + func DataVolumeMount() corev1.VolumeMount + func DownwardAPIVolumeMount() corev1.VolumeMount + func Environment(cluster *v1beta1.PostgresCluster) []corev1.EnvVar + func HugePages1GiRequested(cluster *v1beta1.PostgresCluster) bool + func HugePages2MiRequested(cluster *v1beta1.PostgresCluster) bool + func HugePagesRequested(cluster *v1beta1.PostgresCluster) bool + func InstancePod(ctx context.Context, inCluster *v1beta1.PostgresCluster, ...) + func PodSecurityContext(cluster *v1beta1.PostgresCluster) *corev1.PodSecurityContext + func QuoteLiteral(v string) string + func ReleaseIsFinal(majorVersion int, t time.Time) bool + func SetHugePages(cluster *v1beta1.PostgresCluster, pgParameters *Parameters) + func TablespaceVolumeMount(tablespaceName string) corev1.VolumeMount + func WALDirectory(cluster *v1beta1.PostgresCluster, instance *v1beta1.PostgresInstanceSetSpec) string + func WALStorage(instance *v1beta1.PostgresInstanceSetSpec) string + func WALVolumeMount() corev1.VolumeMount + func WriteUsersInPostgreSQL(ctx context.Context, cluster *v1beta1.PostgresCluster, exec Executor, ...) error + type Executor func(ctx context.Context, stdin io.Reader, stdout, stderr io.Writer, ...) error + func (exec Executor) Exec(ctx context.Context, sql io.Reader, variables map[string]string) (string, string, error) + func (exec Executor) ExecInAllDatabases(ctx context.Context, sql string, variables map[string]string) (string, string, error) + func (exec Executor) ExecInDatabasesFromQuery(ctx context.Context, databases, sql string, variables map[string]string) (string, string, error) + type HBAs struct + Default []*HostBasedAuthentication + Mandatory []*HostBasedAuthentication + func NewHBAs() HBAs + type HostBasedAuthentication struct + func NewHBA() *HostBasedAuthentication + func (hba *HostBasedAuthentication) AllDatabases() *HostBasedAuthentication + func (hba *HostBasedAuthentication) AllNetworks() *HostBasedAuthentication + func (hba *HostBasedAuthentication) AllUsers() *HostBasedAuthentication + func (hba *HostBasedAuthentication) Database(name string) *HostBasedAuthentication + func (hba *HostBasedAuthentication) Local() *HostBasedAuthentication + func (hba *HostBasedAuthentication) Method(name string) *HostBasedAuthentication + func (hba *HostBasedAuthentication) Network(block string) *HostBasedAuthentication + func (hba *HostBasedAuthentication) NoSSL() *HostBasedAuthentication + func (hba *HostBasedAuthentication) Options(opts map[string]string) *HostBasedAuthentication + func (hba *HostBasedAuthentication) Replication() *HostBasedAuthentication + func (hba *HostBasedAuthentication) Role(name string) *HostBasedAuthentication + func (hba *HostBasedAuthentication) SameNetwork() *HostBasedAuthentication + func (hba *HostBasedAuthentication) String() string + func (hba *HostBasedAuthentication) TCP() *HostBasedAuthentication + func (hba *HostBasedAuthentication) TLS() *HostBasedAuthentication + func (hba *HostBasedAuthentication) TLSOnly() *HostBasedAuthentication + func (hba *HostBasedAuthentication) User(name string) *HostBasedAuthentication + type ParameterSet struct + func NewParameterSet() *ParameterSet + func (ps *ParameterSet) Add(name, value string) + func (ps *ParameterSet) AppendToList(name string, value ...string) + func (ps *ParameterSet) AsMap() map[string]string + func (ps *ParameterSet) DeepCopy() (out *ParameterSet) + func (ps *ParameterSet) Get(name string) (string, bool) + func (ps *ParameterSet) Has(name string) bool + func (ps *ParameterSet) String() string + func (ps *ParameterSet) Value(name string) string + type Parameters struct + Default *ParameterSet + Mandatory *ParameterSet + func NewParameters() Parameters Other modules containing this package github.com/percona/percona-postgresql-operator