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

Method RemoveFencing

pkg/utils/fencing.go:162–165  ·  view source on GitHub ↗

RemoveFencing instructs the client to execute the logic of removing an instance

()

Source from the content-addressed store, hash-verified

160
161// RemoveFencing instructs the client to execute the logic of removing an instance
162func (fb *FencingMetadataExecutor) RemoveFencing() *FencingMetadataExecutor {
163 fb.fenceFunc = removeFencedInstance
164 return fb
165}
166
167// ForAllInstances applies the logic to all cluster instances
168func (fb *FencingMetadataExecutor) ForAllInstances() *FencingMetadataExecutor {

Callers 5

EnsurePodIsUnfencedFunction · 0.80
ensureClusterIsNotFencedFunction · 0.80
fencingOffFunction · 0.80
OffFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected