- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RemoveResource (0.17 sec)
-
operator/pkg/metrics/resource_counts.go
defer rc.mu.Unlock() if _, present := rc.resources[gk]; !present { rc.resources[gk] = map[string]struct{}{} } rc.resources[gk][name] = struct{}{} } // RemoveResource removes the resource of given kind to the set of owned objects func RemoveResource(name string, gk schema.GroupKind) { rc.mu.Lock() defer rc.mu.Unlock() delete(rc.resources[gk], name) } // ReportOwnedResourceCounts reports the owned resource count
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 20 18:48:20 UTC 2020 - 1.9K bytes - Viewed (0) -
operator/pkg/helmreconciler/prune.go
cache.FlushObjectCaches() } metrics.ResourceDeletionTotal. With(metrics.ResourceKindLabel.Value(util.GKString(objGvk.GroupKind()))). Increment() h.addPrunedKind(objGvk.GroupKind()) metrics.RemoveResource(obj.FullName(), objGvk.GroupKind()) h.opts.Log.LogAndPrintf(" Removed %s.", oh) return nil } // RemoveObject removes object with objHash in componentName from the object cache.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 15.9K bytes - Viewed (0)