# Functions
GetOperatorNamespace assumes serviceaccount secret is mounted by kubernetes Placing this func here instead of pgk/util avoids circular import.
# Constants
possible values for PostgreSQL cluster statuses.
possible values for PostgreSQL cluster statuses.
possible values for PostgreSQL cluster statuses.
possible values for PostgreSQL cluster statuses.
possible values for PostgreSQL cluster statuses.
possible values for PostgreSQL cluster statuses.
possible values for PostgreSQL cluster statuses.
possible values for PostgreSQL cluster statuses.
Possible values for the EventType.
Possible values for the EventType.
Possible values for the EventType.
Possible values for the EventType.
Possible values for the EventType.
handle ALTER ROLE SET parameter = value.
Possible values for the sync user operation (removal of users is not supported yet).
Possible values for the sync user operation (removal of users is not supported yet).
The rolesOrigin constant values should be sorted by the role priority.
The rolesOrigin constant values should be sorted by the role priority.
The rolesOrigin constant values should be sorted by the role priority.
The rolesOrigin constant values should be sorted by the role priority.
The rolesOrigin constant values should be sorted by the role priority.
# Structs
CloneDescription describes which cluster the new should clone and up to which point in time.
ClusterEvent carries the payload of the Cluster TPR events.
ClusterStatus describes status of the cluster.
ControllerConfig describes configuration of the controller.
ControllerStatus describes status of the controller.
Diff describes diff.
LogEntry describes log entry in the RingLogger.
MaintenanceWindow describes the time window when the operator is allowed to do maintenance on a cluster.
Patroni contains Patroni-specific configuration.
PgSyncUserRequest has information about a single request to sync a user.
PgUser contains information about a single user.
PodEvent describes the event for a single Pod.
Postgresql defines PostgreSQL Custom Resource Definition Object.
PostgresqlList defines a list of PostgreSQL clusters.
PostgresqlParam describes PostgreSQL version and pairs of configuration parameter name - values.
PostgresSpec defines the specification for the PostgreSQL TPR.
Process describes process of the cluster.
QueueDump describes cache.FIFO queue.
ResourceDescription describes CPU and memory resources defined for a cluster.
Resources describes requests and limits for the cluster resouces.
Sidecar defines a container to be run in the same pod as the Postgres container.
Volume describes a single volume in the manifest.
WorkerStatus describes status of the worker.
# Interfaces
UserSyncer defines an interface for the implementations to sync users from the manifest to the DB.
# Type aliases
No description provided by the author
EventType contains type of the events for the TPRs and Pods received from Kubernetes.
NamespacedName describes the namespace/name pairs used in Kubernetes names.
PgUserMap maps user names to the definitions.
PostgresStatus contains status of the PostgreSQL cluster (running, creation failed etc.).
RoleOrigin contains the code of the origin of a role.
UserFlags defines flags (such as superuser, nologin) that could be assigned to individual users.