MCPcopy Index your code
hub / github.com/cloudnative-pg/cloudnative-pg / IsFenced

Method IsFenced

pkg/management/postgres/instance.go:281–283  ·  view source on GitHub ↗

IsFenced checks whether the instance is marked as fenced

()

Source from the content-addressed store, hash-verified

279
280// IsFenced checks whether the instance is marked as fenced
281func (instance *Instance) IsFenced() bool {
282 return instance.fenced.Load()
283}
284
285// CanCheckReadiness checks whether the instance should be checked for readiness
286func (instance *Instance) CanCheckReadiness() bool {

Callers 9

instance_test.goFile · 0.80
pgArchivePartialMethod · 0.80
updateInstanceMetricsMethod · 0.80
runPostgresAndWaitMethod · 0.80
ReconcileMethod · 0.80
reconcileFencingMethod · 0.80
reconcileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected