Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for NewServiceDiscovery (0.16 sec)

  1. pilot/pkg/networking/core/accesslog_test.go

    		t.Fatalf("unexpected access log: %v", xdstest.ExtractTCPProxy(t, fc).GetAccessLog())
    	}
    }
    
    func newTestEnviroment() *model.Environment {
    	serviceDiscovery := memregistry.NewServiceDiscovery(&model.Service{
    		Hostname:       "test.example.org",
    		DefaultAddress: "1.1.1.1",
    		Ports: model.PortList{
    			&model.Port{
    				Name:     "default",
    				Port:     8080,
    				Protocol: protocol.HTTP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    		Metadata: &model.NodeMetadata{
    			IstioVersion: "1.2.2",
    			Raw: map[string]any{
    				"foo": "sidecar",
    				"bar": "proxy",
    			},
    		},
    	}
    	serviceDiscovery := memregistry.NewServiceDiscovery()
    	e := newTestEnvironment(serviceDiscovery, testMesh, buildEnvoyFilterConfigStore(configPatches))
    	push := model.NewPushContext()
    	_ = push.InitContext(e, nil, nil)
    
    	// Test different priorities
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top