1
0
mirror of https://github.com/rancher/norman.git synced 2025-07-03 02:27:27 +00:00
norman/resource
dax f5744043a6 Refactor set of cluster scoped handlers
Problem: Cluster scoped gc was taking significantly longer to complete
than before 7387aa5. This was due to a large number of list calls and
the time needed to iterate over them.

Solution: Instead of requesting every type than Rancher uses, a
seperate map appended to when a cluster scoped handler
is created. The full map of all GroupVersionResources is kept as a
fallback for the use case where user controllers may exist on another
host other than the current leader.
2019-05-28 18:48:15 -07:00
..
resource.go Refactor set of cluster scoped handlers 2019-05-28 18:48:15 -07:00