Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddHTTPService (0.1 sec)

  1. pilot/pkg/networking/apigen/apigen_test.go

    // backed by an in-memory config and endpoint Store.
    func initDS(t *testing.T) *xds.FakeDiscoveryServer {
    	ds := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	sd := ds.MemRegistry
    	sd.AddHTTPService("fortio1.fortio.svc.cluster.local", "10.10.10.1", 8081)
    	sd.SetEndpoints("fortio1.fortio.svc.cluster.local", "", []*model.IstioEndpoint{
    		{
    			Address:         "127.0.0.1",
    			EndpointPort:    uint32(14056),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top