- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ownerReferenceCoordinates (0.23 sec)
-
pkg/controller/garbagecollector/graph.go
ret = append(ret, dep) } } } return ret } // ownerReferenceCoordinates returns an owner reference containing only the coordinate fields // from the input reference (uid, name, kind, apiVersion) func ownerReferenceCoordinates(ref metav1.OwnerReference) metav1.OwnerReference { return metav1.OwnerReference{ UID: ref.UID, Name: ref.Name,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 13:37:56 UTC 2023 - 7.1K bytes - Viewed (0) -
pkg/controller/garbagecollector/graph_builder.go
if !ok { // Create a "virtual" node in the graph for the owner if it doesn't // exist in the graph yet. ownerNode = &node{ identity: objectReference{ OwnerReference: ownerReferenceCoordinates(owner), Namespace: n.identity.Namespace, }, dependents: make(map[*node]struct{}), virtual: true, } logger.V(5).Info("add virtual item", "identity", ownerNode.identity)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector.go
dangling bool, owner *metav1.PartialObjectMetadata, err error) { logger := klog.FromContext(ctx) // check for recorded absent cluster-scoped parent absentOwnerCacheKey := objectReference{OwnerReference: ownerReferenceCoordinates(reference)} if gc.absentOwnerCache.Has(absentOwnerCacheKey) { logger.V(5).Info("according to the absentOwnerCache, item's owner does not exist", "item", item.identity, "owner", reference, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.9K bytes - Viewed (0)