- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for RemoveResource (0.19 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)