Versions in this module Expand all Collapse all v2 v2.8.0 Nov 12, 2025 Changes in this version + const CMInstanceKey + const CMRepoKey + const ConfigHashKey + const DefaultStanzaName + const IANAPortNumber + const IANAServiceName + func AddConfigToInstancePod(cluster *v1beta1.PostgresCluster, pod *corev1.PodSpec) + func AddConfigToRepoPod(cluster *v1beta1.PostgresCluster, pod *corev1.PodSpec) + func AddConfigToRestorePod(cluster *v1beta1.PostgresCluster, sourceCluster *v1beta1.PostgresCluster, ...) + func AddRepoVolumesToPod(postgresCluster *v1beta1.PostgresCluster, template *corev1.PodTemplateSpec, ...) error + func AddServerToInstancePod(ctx context.Context, cluster *v1beta1.PostgresCluster, pod *corev1.PodSpec, ...) + func AddServerToRepoPod(ctx context.Context, cluster *v1beta1.PostgresCluster, pod *corev1.PodSpec) + func CalculateConfigHashes(postgresCluster *v1beta1.PostgresCluster) (map[string]string, string, error) + func CreatePGBackRestConfigMapIntent(postgresCluster *v1beta1.PostgresCluster, ...) *corev1.ConfigMap + func DedicatedSnapshotVolumeRestoreCommand(pgdata string, args ...string) []string + func InstanceCertificates(ctx context.Context, inCluster *v1beta1.PostgresCluster, ...) error + func MakePGBackrestLogDir(template *corev1.PodTemplateSpec, cluster *v1beta1.PostgresCluster) + func Permissions(cluster *v1beta1.PostgresCluster) []rbacv1.PolicyRule + func PostgreSQL(inCluster *v1beta1.PostgresCluster, outParameters *postgres.Parameters, ...) + func ReplicaCreateCommand(cluster *v1beta1.PostgresCluster, instance *v1beta1.PostgresInstanceSetSpec) []string + func RepoHostVolumeDefined(postgresCluster *v1beta1.PostgresCluster) bool + func RepoVolumeMount() corev1.VolumeMount + func RestoreCommand(pgdata, hugePagesSetting, fetchKeyCommand string, ...) []string + func RestoreConfig(sourceConfigMap, targetConfigMap *corev1.ConfigMap, ...) + func Secret(ctx context.Context, inCluster *v1beta1.PostgresCluster, ...) error + type Executor func(ctx context.Context, stdin io.Reader, stdout, stderr io.Writer, ...) error + func (exec Executor) StanzaCreateOrUpgrade(ctx context.Context, configHash string, ...) (bool, error)