Documentation
¶
Overview ¶
Package certificate contains the reconciler for the PostgreSQL instance manager secrets
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoServerCertificateHandler = fmt.Errorf("no server certificate handler")
ErrNoServerCertificateHandler is raised when a new server certificate has been detected by the instance reconciler but no handler has been set.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler returns a certificate reconciler
func NewReconciler ¶
func NewReconciler(cli client.Client, serverHandler serverCertificateHandler) *Reconciler
NewReconciler creates a new certificate reconciler
func (*Reconciler) RefreshSecrets ¶
RefreshSecrets is called when the PostgreSQL secrets are changed and will refresh the contents of the file inside the Pod, without reloading the actual PostgreSQL instance.
It returns a boolean flag telling if something changed. Usually the invoker will check that flag and reload the PostgreSQL instance it is up.
Click to show internal directories.
Click to hide internal directories.