Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for InsertOrNew (0.14 sec)

  1. 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)
Back to top