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

Method AddFencing

pkg/utils/fencing.go:156–159  ·  view source on GitHub ↗

AddFencing instructs the client to execute the logic of adding a instance

()

Source from the content-addressed store, hash-verified

154
155// AddFencing instructs the client to execute the logic of adding a instance
156func (fb *FencingMetadataExecutor) AddFencing() *FencingMetadataExecutor {
157 fb.fenceFunc = AddFencedInstance
158 return fb
159}
160
161// RemoveFencing instructs the client to execute the logic of removing an instance
162func (fb *FencingMetadataExecutor) RemoveFencing() *FencingMetadataExecutor {

Callers 4

ensurePodIsFencedMethod · 0.80
startTransitionFunction · 0.80
fencingOnFunction · 0.80
OnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected