package
4.7.10+incompatible
Repository: https://github.com/crunchydata/postgres-operator.git
Documentation: pkg.go.dev

# Functions

Kind takes an unqualified kind and returns back a Group qualified GroupKind.
ParseBackrestStorageTypes takes a comma-delimited string of potential pgBackRest storage types and attempts to parse it into a recognizable array.
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
UserSecretName returns the name of a Kubernetes Secret representing the user.
UserSecretNameFromClusterName returns the name of a Kubernetes Secret representing a user.

# Constants

BackrestStorageTypeGCS is the GCS storage type for using GCS storage.
BackrestStorageTypeLocal is DEPRECATED.
BackrestStorageTypePosix is the "posix" storage type and in the fullness of time should supercede local.
BackrestStorageTypeS3 if the S3 storage type for using S3 or S3-equivalent storage.
this type of backup is taken when a new cluster is being bootstrapped.
this type of backup is taken following a failover event.
ClusterAnnotationBackrest indicates to apply the annotation to the pgBackRest deployments.
ClusterAnnotationGlobal indicates to apply the annotation regardless of deployment type.
ClusterAnnotationPgBouncer indicates to apply the annotation to the pgBouncer deployments.
ClusterAnnotationPostgres indicates to apply the annotation to the PostgreSQL deployments.
CompletedStatus -.
GroupName is the group name used in this package.
InProgressStatus -.
JobCompletedStatus ....
JobErrorStatus ....
JobSubmittedStatus ....
NodeAffinityDefaultWeight is the default weighting for the preferred node affinity.
No description provided by the author
No description provided by the author
this is ported over from legacy backup code.
PgclusterResourcePlural ..
PgclusterStateBootstrapped defines the state of a cluster when it has been bootstrapped successfully from an existing data source.
PgclusterStateBootstrapping defines the state of a cluster when it is being bootstrapped from an existing data source.
PgclusterStateCreated ...
PgclusterStateInitialized ...
PgclusterStateProcessed ...
PgclusterStateRestore ...
PgclusterStateShutdown indicates that the cluster has been shut down (i.e.
PgpolicyResourcePlural ...
PgpolicyStateCreated ...
PgpolicyStateProcessed ...
PgreplicaResourcePlural ..
PgreplicaStateCreated ...
PgreplicaStatePending ...
PgreplicaStatePendingRestore ...
PgreplicaStateProcessed ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PgtaskResourcePlural ...
No description provided by the author
PgtaskStateCreated ...
PgtaskStateProcessed ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PGUserAdmin is a DEPRECATED user and is only included to filter this out as a system user in older systems.
PGUserMonitor is the monitoring user that can access metric data.
PGUserPgBouncer is the user that's used for managing pgBouncer, which a user can use to access pgBouncer stats, etc.
PGUserReplication is the user that's used for replication, which has elevated privileges.
PGUserSuperuser is the superuser account that can do anything.
The list of different types of PodAntiAffinityDeployments.
The list of different types of PodAntiAffinityDeployments.
The list of different types of PodAntiAffinityDeployments.
PodAntiAffinityDisabled disables any default pod anti-affinity rules applied to pg custers.
PodAntiAffinityPreffered results in preferredDuringSchedulingIgnoredDuringExecution for any default pod anti-affinity rules applied to pg custers.
PodAntiAffinityRequired results in requiredDuringSchedulingIgnoredDuringExecution for any default pod anti-affinity rules applied to pg custers.
StorageCreate ...
StorageDynamic ...
StorageEmptydir ...
StorageExisting ...
SubmittedStatus -.

# Variables

AddToScheme ...
No description provided by the author
No description provided by the author
No description provided by the author
PGFSGroup stores the UID of the PostgreSQL user that runs the PostgreSQL process, which is 26.
PGUserSystemAccounts maintains an easy-to-access list of what the systems accounts are, which may affect how information is returned, etc.
SchemeBuilder ...
SchemeGroupVersion is the group version used to register these objects.

# Structs

ClusterAnnotations provides a set of annotations that can be propagated to the managed deployments.
NodeAffinitySpec contains optional NodeAffinity rules for the different deployment types managed by the Operator.
PgBouncerSpec is a struct that is used within the Cluster specification that provides the attributes for managing a PgBouncer implementation, including: - is it enabled? - what resources it should consume - the total number of replicas.
Pgcluster is the CRD that defines a Crunchy PG Cluster swagger:ignore Pgcluster +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
PgclusterList is the CRD that defines a Crunchy PG Cluster List swagger:ignore +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
PgclusterSpec is the CRD that defines a Crunchy PG Cluster Spec swagger:ignore.
PgclusterStatus is the CRD that defines PG Cluster Status swagger:ignore.
PGDataSourceSpec defines the data source that should be used to populate the initial PGDATA directory when bootstrapping a new PostgreSQL cluster swagger:ignore.
Pgpolicy ..
PgpolicyList ..
PgpolicySpec ..
PgpolicyStatus ..
Pgreplica .
PgreplicaList ..
PgreplicaSpec ..
PgreplicaStatus ..
PgStorageSpec ..
Pgtask ..
PgtaskList ..
PgtaskSpec ..
PgtaskStatus ..
PodAntiAffinitySpec provides multiple configurations for how pod anti-affinity can be set.
TLSSpec contains the information to set up a TLS-enabled PostgreSQL cluster.

# Type aliases

BackrestStorageType refers to the types of storage accept by pgBackRest.
ClusterAnnotationType just helps with the various cluster annotation types available.
NodeAffinityType indicates the type of node affinity that the request seeks to use.
PgclusterState is the crd that defines PG Cluster Stage swagger:ignore.
PgpolicyState ..
PgreplicaState ..
PgtaskState ..
PodAntiAffinityDeployment distinguishes between the different types of Deployments that can leverage PodAntiAffinity.
PodAntiAffinityType defines the different types of type of anti-affinity rules applied to pg clusters when utilizing the default pod anti-affinity rules provided by the PostgreSQL Operator, which are enabled for a new pg cluster by default.