Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newBaseEndpointInfo (0.31 sec)

  1. pkg/proxy/endpoint.go

    	return info.terminating
    }
    
    // ZoneHints returns the zone hint for the endpoint.
    func (info *BaseEndpointInfo) ZoneHints() sets.Set[string] {
    	return info.zoneHints
    }
    
    func newBaseEndpointInfo(ip string, port int, isLocal, ready, serving, terminating bool, zoneHints sets.Set[string]) *BaseEndpointInfo {
    	return &BaseEndpointInfo{
    		ip:          ip,
    		port:        port,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:38:25 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pkg/proxy/endpointslicecache.go

    				zoneHints = sets.New[string]()
    				for _, zone := range endpoint.Hints.ForZones {
    					zoneHints.Insert(zone.Name)
    				}
    			}
    		}
    
    		endpointInfo := newBaseEndpointInfo(endpoint.Addresses[0], portNum, isLocal,
    			ready, serving, terminating, zoneHints)
    
    		// This logic ensures we're deduplicating potential overlapping endpoints
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top