Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
manager/backup
Package backup implement the "controller backup" command
|
Package backup implement the "controller backup" command |
manager/bootstrap
Package bootstrap implement the "controller bootstrap" command
|
Package bootstrap implement the "controller bootstrap" command |
manager/controller
Package controller implement the command used to start the operator
|
Package controller implement the command used to start the operator |
manager/instance
Package instance implements the "instance" subcommand of the operator
|
Package instance implements the "instance" subcommand of the operator |
manager/instance/initdb
Package initdb implements the "instance init" subcommand of the operator
|
Package initdb implements the "instance init" subcommand of the operator |
manager/instance/join
Package join implements the "instance join" subcommand of the operator
|
Package join implements the "instance join" subcommand of the operator |
manager/instance/pgbasebackup
Package pgbasebackup implement the pgbasebackup bootstrap method
|
Package pgbasebackup implement the pgbasebackup bootstrap method |
manager/instance/restore
Package restore implements the "instance restore" subcommand of the operator
|
Package restore implements the "instance restore" subcommand of the operator |
manager/instance/run
Package run implements the "instance run" subcommand of the operator
|
Package run implements the "instance run" subcommand of the operator |
manager/instance/run/lifecycle
Package lifecycle contains the code to run and manage the lifecycle of a postgres Instance
|
Package lifecycle contains the code to run and manage the lifecycle of a postgres Instance |
manager/instance/status
Package status implement the "instance status" subcommand of the operator
|
Package status implement the "instance status" subcommand of the operator |
manager/pgbouncer
Package pgbouncer implements the "pgbouncer" subcommand of the operator
|
Package pgbouncer implements the "pgbouncer" subcommand of the operator |
manager/pgbouncer/run
Package run implements the "pgbouncer run" subcommand of the operator
|
Package run implements the "pgbouncer run" subcommand of the operator |
manager/show
Package show implement the show command subfeatures
|
Package show implement the show command subfeatures |
manager/show/walarchivequeue
Package walarchivequeue implement the wal-archive-queue command
|
Package walarchivequeue implement the wal-archive-queue command |
manager/walarchive
Package walarchive implement the wal-archive command
|
Package walarchive implement the wal-archive command |
manager/walrestore
Package walrestore implement the walrestore command
|
Package walrestore implement the walrestore command |
plugin
Package plugin contains the common behaviors of the kubectl-cnpg subcommand
|
Package plugin contains the common behaviors of the kubectl-cnpg subcommand |
plugin/backup
Package backup implements a command to request an on-demand backup for a PostgreSQL cluster
|
Package backup implements a command to request an on-demand backup for a PostgreSQL cluster |
plugin/certificate
Package certificate implement the kubectl-cnpg certificate command
|
Package certificate implement the kubectl-cnpg certificate command |
plugin/destroy
Package destroy implements a command to destroy an instances of a cluster and its associated PVC
|
Package destroy implements a command to destroy an instances of a cluster and its associated PVC |
plugin/fence
Package fence implements a command to fence instances in a cluster
|
Package fence implements a command to fence instances in a cluster |
plugin/fio
Package fio implements the fio job creation via deployment
|
Package fio implements the fio job creation via deployment |
plugin/hibernate
Package hibernate implements the hibernation feature
|
Package hibernate implements the hibernation feature |
plugin/install
Package install implements the install plugin command
|
Package install implements the install plugin command |
plugin/maintenance
Package maintenance implements the kubectl-cnpg maintenance sub-command
|
Package maintenance implements the kubectl-cnpg maintenance sub-command |
plugin/pgbench
Package pgbench implements the pgbench job creation
|
Package pgbench implements the pgbench job creation |
plugin/promote
Package promote implement the kubectl-cnpg promote command
|
Package promote implement the kubectl-cnpg promote command |
plugin/psql
Package psql implements the `kubectl cnpg psql` command
|
Package psql implements the `kubectl cnpg psql` command |
plugin/reload
Package reload implements a command to trigger a reconciliation loop for a cluster
|
Package reload implements a command to trigger a reconciliation loop for a cluster |
plugin/report
Package report implements the kubectl-cnpg report command
|
Package report implements the kubectl-cnpg report command |
plugin/restart
Package restart implements a command to rollout restart a cluster or restart a single instance
|
Package restart implements a command to rollout restart a cluster or restart a single instance |
plugin/status
Package status implements the kubectl-cnpg status command
|
Package status implements the kubectl-cnpg status command |
versions
Package versions builds the version subcommand for both manager and plugins
|
Package versions builds the version subcommand for both manager and plugins |
Package configuration contains the configuration of the operator, reading if from environment variables and from the ConfigMap
|
Package configuration contains the configuration of the operator, reading if from environment variables and from the ConfigMap |
management
|
|
cache
Package cache contains the constants and functions for reading/writing to the process local cache some specific supported objects
|
Package cache contains the constants and functions for reading/writing to the process local cache some specific supported objects |
cache/client
Package client contains the constants and functions for reading supported objects from cache or building them in case of cache miss.
|
Package client contains the constants and functions for reading supported objects from cache or building them in case of cache miss. |
controller
Package controller contains the functions in PostgreSQL instance manager that reacts to changes to the Cluster resource.
|
Package controller contains the functions in PostgreSQL instance manager that reacts to changes to the Cluster resource. |
controller/slots/infrastructure
Package infrastructure contains the structs and interfaces needed to manage replication slots
|
Package infrastructure contains the structs and interfaces needed to manage replication slots |
controller/slots/reconciler
Package reconciler contains all the logic needed to reconcile replication slots
|
Package reconciler contains all the logic needed to reconcile replication slots |
controller/slots/runner
Package runner contains the runner that replicates slots from the primary to the replicas
|
Package runner contains the runner that replicates slots from the primary to the replicas |
istio
Package istio implements functions needed to integrate with istio-proxy
|
Package istio implements functions needed to integrate with istio-proxy |
linkerd
Package linkerd implements functions needed to integrate with linkerd-proxy
|
Package linkerd implements functions needed to integrate with linkerd-proxy |
utils
Package utils contains uncategorized utilities only used by the instance manager of PostgreSQL and PgBouncer
|
Package utils contains uncategorized utilities only used by the instance manager of PostgreSQL and PgBouncer |
pgbouncer
|
|
management/controller
Package controller contains the functions in pgbouncer instance manager that reacts to changes in the Pooler resource.
|
Package controller contains the functions in pgbouncer instance manager that reacts to changes in the Pooler resource. |
plugin
|
|
resources
Package resources contains reusable functions for the plugin commands
|
Package resources contains reusable functions for the plugin commands |
Package scheme offers a builder capable of generating a scheme with the resources known by the CNP manager
|
Package scheme offers a builder capable of generating a scheme with the resources known by the CNP manager |
Click to show internal directories.
Click to hide internal directories.