pkg/

directory
v1.23.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0

Directories

Path Synopsis
Package certs handle the PKI infrastructure of the operator
Package certs handle the PKI infrastructure of the operator
Package cnpgerrors contains error types for CNPG
Package cnpgerrors contains error types for CNPG
Package concurrency contains utilities for goroutines coordination
Package concurrency contains utilities for goroutines coordination
Package conditions contains functions useful to update the conditions on the resources managed by the operator
Package conditions contains functions useful to update the conditions on the resources managed by the operator
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 fileutils contains the utility functions about file management
Package fileutils contains the utility functions about file management
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 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
barman
Package barman contains the utilities to interact with barman-cloud.
Package barman contains the utilities to interact with barman-cloud.
barman/archiver
Package archiver manages the WAL archiving process
Package archiver manages the WAL archiving process
barman/capabilities
Package capabilities stores the definition of the type for Barman capabilities
Package capabilities stores the definition of the type for Barman capabilities
barman/credentials
Package credentials is used to build environment for barman cloud commands
Package credentials is used to build environment for barman cloud commands
barman/restorer
Package restorer manages the WAL restore process
Package restorer manages the WAL restore process
barman/spool
Package spool implements a WAL pooler keeping track of which WALs we have archived
Package spool implements a WAL pooler keeping track of which WALs we have archived
catalog
Package catalog is the implementation of a backup catalog
Package catalog is the implementation of a backup catalog
execlog
Package execlog handles stdout and stderr pipes of started commands and logs them in JSON using the provided logger
Package execlog handles stdout and stderr pipes of started commands and logs them in JSON using the provided logger
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
log
Package log contains the logging subsystem of the instance manager
Package log contains the logging subsystem of the instance manager
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/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/metricserver
Package metricserver contains the web server powering metrics
Package metricserver contains the web server powering metrics
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 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
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
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
instance
Package instance contains the client capable of querying the HTTP instances endpoints
Package instance contains the client capable of querying the HTTP instances endpoints
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 stringset implements a basic set of strings
Package stringset implements a basic set of strings
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
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.
logs
Package logs contains code to fetch logs from Kubernetes pods
Package logs contains code to fetch logs from Kubernetes pods
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL