Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getProxyServiceTargets (0.39 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	}
    	serviceInstances := controller.GetProxyServiceTargets(svcNode)
    
    	if len(serviceInstances) != 1 {
    		t.Fatalf("GetProxyServiceTargets() expected 1 instance, got %d", len(serviceInstances))
    	}
    
    	hostname := kube.ServiceHostname("svc1", "nsa", defaultFakeDomainSuffix)
    	if serviceInstances[0].Service.Hostname != hostname {
    		t.Fatalf("GetProxyServiceTargets() wrong service instance returned => hostname %q, want %q",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context.go

    	// the sidecar calls.
    	// Updated by GetProxyServiceTargets
    	ProxyStatusNoService = monitoring.NewGauge(
    		"pilot_no_ip",
    		"Pods not found in the endpoint table, possibly invalid.",
    	)
    
    	// ProxyStatusEndpointNotReady represents proxies found not be ready.
    	// Updated by GetProxyServiceTargets. Normal condition when starting
    	// an app with readiness, error if it doesn't change to 0.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context_test.go

    	return l.services
    }
    
    func (l *localServiceDiscovery) GetService(host.Name) *Service {
    	panic("implement me")
    }
    
    func (l *localServiceDiscovery) GetProxyServiceTargets(*Proxy) []ServiceTarget {
    	panic("implement me")
    }
    
    func (l *localServiceDiscovery) GetProxyWorkloadLabels(*Proxy) labels.Instance {
    	panic("implement me")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	t.Helper()
    	// The system is eventually consistent, so add some retries
    	retry.UntilSuccessOrFail(t, func() error {
    		instances := sd.GetProxyServiceTargets(&model.Proxy{IPAddresses: []string{ip}, Metadata: &model.NodeMetadata{}})
    		sortServiceTargets(instances)
    		sortServiceTargets(expected)
    		if err := compare(t, instances, expected); err != nil {
    			return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top