# Functions
ClusterBootstrapped returns a bool indicating whether or not Patroni has successfully bootstrapped the PostgresCluster.
ClusterConfigMap populates the shared ConfigMap with fields needed to run Patroni.
DynamicConfiguration combines configuration with some PostgreSQL settings and returns a value that can be marshaled to JSON.
InstanceCertificates populates the shared Secret with certificates needed to run Patroni.
InstanceConfigMap populates the shared ConfigMap with fields needed to run Patroni.
InstancePod populates a PodTemplateSpec with the fields needed to run Patroni.
Permissions returns the RBAC rules Patroni needs for cluster.
PodIsPrimary returns whether or not pod is currently acting as the leader with the "master" role.
PodIsStandbyLeader returns whether or not pod is currently acting as a "standby_leader".
PodRequiresRestart returns whether or not PostgreSQL inside pod has (pending) parameter changes that require a PostgreSQL restart.
# Interfaces
API defines a general interface for interacting with the Patroni API.
# Type aliases
Executor implements API by calling "patronictl".