management

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package management contains all the features needed by the instance manager that runs in each Pod as PID 1

Index

Constants

This section is empty.

Variables

View Source
var Scheme = runtime.NewScheme()

Scheme used for the instance manager

Functions

func NewControllerRuntimeClient

func NewControllerRuntimeClient() (client.WithWatch, error)

NewControllerRuntimeClient creates a new typed K8s client where the PostgreSQL CRD and some basic k8s resources have been already registered.

While using the typed client you may encounter an error like this: no matches for kind "X" in version "Y".

This means that the runtime.Object is missing and needs to registered in the client.

func NewEventRecorder

func NewEventRecorder() (record.EventRecorder, error)

NewEventRecorder creates a new event recorder

Types

This section is empty.

Directories

Path Synopsis
Package barman contains the utilities to interact with barman-cloud.
Package barman contains the utilities to interact with barman-cloud.
archiver
Package archiver manages the WAL archiving process
Package archiver manages the WAL archiving process
capabilities
Package capabilities stores the definition of the type for Barman capabilities
Package capabilities stores the definition of the type for Barman capabilities
credentials
Package credentials is used to build environment for barman cloud commands
Package credentials is used to build environment for barman cloud commands
restorer
Package restorer manages the WAL restore process
Package restorer manages the WAL restore process
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
Package catalog is the implementation of a backup catalog
Package catalog is the implementation of a backup catalog
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
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
Package log contains the logging subsystem of PGK
Package log contains the logging subsystem of PGK
Package logtest contains the testing utils for the logging subsystem of PGK
Package logtest contains the testing utils for the logging subsystem of PGK
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
metricsserver
Package metricsserver contains the web server powering metrics Package metricsserver enables to expose a set of metrics and collectors on a given postgres instance
Package metricsserver contains the web server powering metrics Package metricsserver enables to expose a set of metrics and collectors on a given postgres instance
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.
constants
Package constants provides the needed constants in the postgres package
Package constants provides the needed constants in the postgres package
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.
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
metrics/histogram
Package histogram contain histogram-metrics related functions
Package histogram contain histogram-metrics related functions
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
webserver
Package webserver contains the web server powering probes, backups and metrics
Package webserver contains the web server powering probes, backups and metrics
webserver/metricserver
Package metricserver contains the web server powering metrics
Package metricserver contains the web server powering metrics
Package upgrade manages the in-place upgrade of the instance manager
Package upgrade manages the in-place upgrade of the instance manager
Package url holds the constants for webserver routing
Package url holds the constants for webserver routing

Jump to

Keyboard shortcuts

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