Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pilot/pkg/model/push_context.go

    func (ps *PushContext) GetAllServices() []*Service {
    	return ps.servicesExportedToNamespace(NamespaceAll)
    }
    
    // ServiceForHostname returns the service associated with a given hostname following SidecarScope
    func (ps *PushContext) ServiceForHostname(proxy *Proxy, hostname host.Name) *Service {
    	if proxy != nil && proxy.SidecarScope != nil {
    		return proxy.SidecarScope.servicesByHostname[hostname]
    	}
    
    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