Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addTestClientEndpoints (0.23 sec)

  1. pilot/pkg/xds/delta_test.go

    		t.Helper()
    		got := slices.Map(resp.Resources, (*discovery.Resource).GetName)
    
    		assert.Equal(t, sets.New(got...), sets.New(names...).Merge(base))
    	}
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	addTestClientEndpoints(s.MemRegistry)
    	s.MemRegistry.AddHTTPService(edsIncSvc, edsIncVip, 8080)
    	s.MemRegistry.SetEndpoints(edsIncSvc, "",
    		newEndpointWithAccount("127.0.0.1", "hello-sa", "v1"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_test.go

    	addLocalityEndpoints(m, "locality-no-outlier-detection.cluster.local")
    
    	// Add the test ads clients to list of service instances in order to test the context dependent locality coloring.
    	addTestClientEndpoints(m)
    
    	m.AddHTTPService(edsIncSvc, edsIncVip, 8080)
    	m.SetEndpoints(edsIncSvc, "", newEndpointWithAccount("127.0.0.1", "hello-sa", "v1"))
    	// Let initial updates settle
    	s.EnsureSynced(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top