- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for InsertOrNew (0.09 sec)
-
pilot/pkg/model/push_context.go
// Use the value 0 as a sentinel indicating that one of the destinations // in the Virtual Service does not specify a port for this host. pn := 0 if port != nil { pn = int(port.Number) } sets.InsertOrNew(out, host, pn) } for _, h := range v.Http { for _, r := range h.Route { if r.Destination != nil { addDestination(r.Destination.Host, r.Destination.GetPort()) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0)