Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lookupService (0.12 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	}
    
    	// 3. Service
    	if svc := a.lookupService(key); svc != nil {
    		res := []model.AddressInfo{serviceToAddressInfo(svc.Service)}
    		for _, w := range a.workloads.ByServiceKey.Lookup(svc.ResourceName()) {
    			res = append(res, workloadToAddressInfo(w.Workload))
    		}
    		return res
    	}
    	return nil
    }
    
    func (a *index) lookupService(key string) *model.ServiceInfo {
    	// 1. namespace/hostname format
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top