MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / IsWalArchivingDisabled

Function IsWalArchivingDisabled

pkg/utils/labels_annotations.go:548–550  ·  view source on GitHub ↗

IsWalArchivingDisabled returns a boolean indicating if PostgreSQL not archive WAL files

(object *metav1.ObjectMeta)

Source from the content-addressed store, hash-verified

546// IsWalArchivingDisabled returns a boolean indicating if PostgreSQL not archive
547// WAL files
548func IsWalArchivingDisabled(object *metav1.ObjectMeta) bool {
549 return object.Annotations[SkipWalArchiving] == string(annotationStatusEnabled)
550}
551
552// IsPasswordPassthroughEnabled reports whether the given Secret's metadata
553// opts the role reconciler out of client-side SCRAM-SHA-256 encoding and

Callers 4

validateConfigurationMethod · 0.92
setDefaultsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected