- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sortByCreationComparator (0.2 sec)
-
pilot/pkg/model/push_context.go
// sortConfigBySelectorAndCreationTime sorts the list of config objects based on priority and creation time. func sortConfigBySelectorAndCreationTime(configs []config.Config) []config.Config { creationTimeComparator := sortByCreationComparator(configs) // Define a comparator function for sorting configs by priority and creation time comparator := func(i, j int) bool { idr := configs[i].Spec.(*networking.DestinationRule)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0)