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

Function isOwnedByPooler

internal/controller/pooler_controller.go:249–252  ·  view source on GitHub ↗
(poolerName string, obj client.Object)

Source from the content-addressed store, hash-verified

247}
248
249func isOwnedByPooler(poolerName string, obj client.Object) bool {
250 ownerName, isOwned := isOwnedByPoolerKind(obj)
251 return isOwned && poolerName == ownerName
252}
253
254func (r *PoolerReconciler) ensureManagedResourcesAreOwned(
255 ctx context.Context,

Calls 1

isOwnedByPoolerKindFunction · 0.85

Tested by

no test coverage detected