Directories
¶
| Path | Synopsis |
|---|---|
|
Package certs handle the PKI infrastructure of the operator
|
Package certs handle the PKI infrastructure of the operator |
|
Package concurrency contains utilities for goroutines coordination
|
Package concurrency contains utilities for goroutines coordination |
|
Package configfile contains primitives needed to manage a configuration file with the syntax of PostgreSQL
|
Package configfile contains primitives needed to manage a configuration file with the syntax of PostgreSQL |
|
Package configparser contains the code required to fill a Go structure representing the configuration information from several sources like:
|
Package configparser contains the code required to fill a Go structure representing the configuration information from several sources like: |
|
Package executablehash detect the SHA256 of the running binary
|
Package executablehash detect the SHA256 of the running binary |
|
Package management contains all the features needed by the instance manager that runs in each Pod as PID 1
|
Package management contains all the features needed by the instance manager that runs in each Pod as PID 1 |
|
external
Package external contains the functions needed to manage servers which are external to this PostgreSQL cluster
|
Package external contains the functions needed to manage servers which are external to this PostgreSQL cluster |
|
external/internal/pgpass
Package pgpass allows the user to generate a PostgreSQL .pgpass file See: https://www.postgresql.org/docs/current/libpq-pgpass.html
|
Package pgpass allows the user to generate a PostgreSQL .pgpass file See: https://www.postgresql.org/docs/current/libpq-pgpass.html |
|
logtest
Package logtest contains the testing utils for the logging subsystem of the instance manager
|
Package logtest contains the testing utils for the logging subsystem of the instance manager |
|
pgbouncer/config
Package config contains the code related to the generation of the PgBouncer configuration
|
Package config contains the code related to the generation of the PgBouncer configuration |
|
pgbouncer/metricsserver
Package metricsserver contains the web server powering metrics
|
Package metricsserver contains the web server powering metrics |
|
postgres
Package postgres contains the function about starting up, shutting down and managing a PostgreSQL instance.
|
Package postgres contains the function about starting up, shutting down and managing a PostgreSQL instance. |
|
postgres/archiver
Package archiver contains the logic of the CloudNativePG WAL archiver
|
Package archiver contains the logic of the CloudNativePG WAL archiver |
|
postgres/constants
Package constants provides the needed constants in the postgres package
|
Package constants provides the needed constants in the postgres package |
|
postgres/logicalimport
Package logicalimport contains the logic needed to import a logical snapshot
|
Package logicalimport contains the logic needed to import a logical snapshot |
|
postgres/logpipe
Package logpipe implements reading csv logs from PostgreSQL logging_collector (https://www.postgresql.org/docs/current/runtime-config-logging.html) and convert them to JSON.
|
Package logpipe implements reading csv logs from PostgreSQL logging_collector (https://www.postgresql.org/docs/current/runtime-config-logging.html) and convert them to JSON. |
|
postgres/metrics
Package metrics enables to expose a set of metrics and collectors on a given postgres instance
|
Package metrics enables to expose a set of metrics and collectors on a given postgres instance |
|
postgres/metrics/histogram
Package histogram contain histogram-metrics related functions
|
Package histogram contain histogram-metrics related functions |
|
postgres/pool
Package pool contain an implementation of a connection pool to multiple database pointing to the same instance
|
Package pool contain an implementation of a connection pool to multiple database pointing to the same instance |
|
postgres/utils
Package utils holds generic utils about postgres instances
|
Package utils holds generic utils about postgres instances |
|
postgres/webserver
Package webserver contains the web server powering probes, backups and metrics
|
Package webserver contains the web server powering probes, backups and metrics |
|
postgres/webserver/client/common
Package common provides common utilities for the webserver client.
|
Package common provides common utilities for the webserver client. |
|
postgres/webserver/client/local
Package local provides a client to interact with the local webserver endpoints.
|
Package local provides a client to interact with the local webserver endpoints. |
|
postgres/webserver/client/remote
Package remote contains the client capable of querying the webserver remote endpoint.
|
Package remote contains the client capable of querying the webserver remote endpoint. |
|
postgres/webserver/metricserver
Package metricserver contains the web server powering metrics
|
Package metricserver contains the web server powering metrics |
|
postgres/webserver/probes
Package probes contains the implementation of startup, liveness and readiness probes
|
Package probes contains the implementation of startup, liveness and readiness probes |
|
upgrade
Package upgrade manages the in-place upgrade of the instance manager
|
Package upgrade manages the in-place upgrade of the instance manager |
|
url
Package url holds the constants for webserver routing
|
Package url holds the constants for webserver routing |
|
Package multicache implements a cache that is able to work on multiple namespaces but also able to read data from a namespace which is beside the specified ones.
|
Package multicache implements a cache that is able to work on multiple namespaces but also able to read data from a namespace which is beside the specified ones. |
|
Package podlogs contains code to fetch logs from Kubernetes pods
|
Package podlogs contains code to fetch logs from Kubernetes pods |
|
Package podspec contains various utilities to deal with Pod Specs
|
Package podspec contains various utilities to deal with Pod Specs |
|
Package postgres contains the function covering the PostgreSQL integrations and the relative data types
|
Package postgres contains the function covering the PostgreSQL integrations and the relative data types |
|
replication
Package replication contains the code relative to the synchronous replication feature
|
Package replication contains the code relative to the synchronous replication feature |
|
Package promotiontoken : This package contains the promotion token related operations
|
Package promotiontoken : This package contains the promotion token related operations |
|
reconciler
|
|
|
backup/volumesnapshot
Package volumesnapshot contains the VolumeSnapshot reconciler that is used to take VolumeSnapshot backups
|
Package volumesnapshot contains the VolumeSnapshot reconciler that is used to take VolumeSnapshot backups |
|
hibernation
Package hibernation contains all the logic to hibernate a CNPG cluster
|
Package hibernation contains all the logic to hibernate a CNPG cluster |
|
instance
Package instance contains all the logic to reconcile an instance pod
|
Package instance contains all the logic to reconcile an instance pod |
|
instance/certificate
Package certificate contains the reconciler for the PostgreSQL instance manager secrets
|
Package certificate contains the reconciler for the PostgreSQL instance manager secrets |
|
instance/storage
Package storage contains the Instance storage reconcilers
|
Package storage contains the Instance storage reconcilers |
|
majorupgrade
Package majorupgrade provides the logic for upgrading a PostgreSQL cluster to a new major version.
|
Package majorupgrade provides the logic for upgrading a PostgreSQL cluster to a new major version. |
|
persistentvolumeclaim
Package persistentvolumeclaim contains all the logic to reconcile and build PVCS
|
Package persistentvolumeclaim contains all the logic to reconcile and build PVCS |
|
replicaclusterswitch
Package replicaclusterswitch contains the logic needed to turn on the replica cluster feature on an existing cluster
|
Package replicaclusterswitch contains the logic needed to turn on the replica cluster feature on an existing cluster |
|
Package resources contains a set of Kubernetes generic utilities that are used by the operator
|
Package resources contains a set of Kubernetes generic utilities that are used by the operator |
|
status
Package status contains all the function needed to interact properly with the resources status
|
Package status contains all the function needed to interact properly with the resources status |
|
Package servicespec contains various utilities to deal with Service Specs
|
Package servicespec contains various utilities to deal with Service Specs |
|
Package specs contains the specification of the K8s resources generated by the CloudNativePG operator
|
Package specs contains the specification of the K8s resources generated by the CloudNativePG operator |
|
pgbouncer
Package pgbouncer contains the specification of the K8s resources generated by the CloudNativePG operator related to pgbouncer poolers
|
Package pgbouncer contains the specification of the K8s resources generated by the CloudNativePG operator related to pgbouncer poolers |
|
Package system provides an interface with the operating system
|
Package system provides an interface with the operating system |
|
compatibility
Package compatibility provides a layer to cross-compile with other OS than Linux
|
Package compatibility provides a layer to cross-compile with other OS than Linux |
|
Package utils contains otherwise uncategorized kubernetes relative functions
|
Package utils contains otherwise uncategorized kubernetes relative functions |
|
context
Package context contains utility functions to work with context.Context
|
Package context contains utility functions to work with context.Context |
|
hash
Package hash allows the user to get a hash number for a given Kubernetes object.
|
Package hash allows the user to get a hash number for a given Kubernetes object. |
|
Package versions contains the version of the CloudNativePG operator and the software that is used by it
|
Package versions contains the version of the CloudNativePG operator and the software that is used by it |
Click to show internal directories.
Click to hide internal directories.