Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 70 for worklist (0.13 sec)

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

    	}
    	if c.meta == nil {
    		c.meta = &model.NodeMetadata{}
    	}
    	return c
    }
    
    func buildTestClusters(c clusterTest) []*cluster.Cluster {
    	c = c.fillDefaults()
    
    	servicePort := model.PortList{
    		&model.Port{
    			Name:     "default",
    			Port:     8080,
    			Protocol: protocol.HTTP,
    		},
    		&model.Port{
    			Name:     "auto",
    			Port:     9090,
    			Protocol: protocol.Unsupported,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/accesslog_test.go

    	}
    }
    
    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,
    			},
    		},
    	})
    
    	meshConfig := mesh.DefaultMeshConfig()
    	meshConfig.AccessLogFile = model.DevStdout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/config_test.go

    	}
    	for _, c := range cases {
    		if got := c.in.String(); got != c.want {
    			t.Errorf("Failed: got %q want %q", got, c.want)
    		}
    	}
    }
    
    func TestPortList(t *testing.T) {
    	pl := model.PortList{
    		{Name: "http", Port: 80, Protocol: protocol.HTTP},
    		{Name: "http-alt", Port: 8080, Protocol: protocol.HTTP},
    	}
    
    	gotNames := pl.GetNames()
    	wantNames := []string{"http", "http-alt"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 19K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/ep_filters_test.go

    		Configs: c,
    		Services: []*model.Service{{
    			Hostname:   "example.ns.svc.cluster.local",
    			Attributes: model.ServiceAttributes{Name: "example", Namespace: "ns"},
    			Ports:      model.PortList{{Port: 80, Protocol: protocol.HTTP, Name: "http"}},
    		}},
    		Gateways: []model.NetworkGateway{
    			// network1 has only 1 gateway in cluster1a, which will be used for the endpoints
    			// in both cluster1a and cluster1b.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. pilot/pkg/model/sidecar_test.go

    					Attributes: ServiceAttributes{
    						Name:      "s3",
    						Namespace: "default",
    					},
    				},
    			},
    			expectedServices: []*Service{
    				{
    					Hostname: "proxy",
    					Ports:    PortList{port7000[0], port7443[0], port7442[0]},
    					Attributes: ServiceAttributes{
    						Name:      "s1",
    						Namespace: "default",
    					},
    				},
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/sidecar_simulation_test.go

    		IPAddresses: []string{"1.2.3.4"},
    		Metadata:    &model.NodeMetadata{},
    	}
    	service := &model.Service{
    		Hostname:       host.Name("backend.default.svc.cluster.local"),
    		DefaultAddress: "1.1.1.1",
    		Ports: model.PortList{&model.Port{
    			Name:     "default",
    			Port:     80,
    			Protocol: protocol.HTTP,
    		}, &model.Port{
    			Name:     "other",
    			Port:     81,
    			Protocol: protocol.HTTP,
    		}},
    		Resolution: model.ClientSideLB,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    		}
    		svc.Attributes.Labels["service.istio.io/canonical-name"] = configNamespace
    		svc.Attributes.Labels["service.istio.io/canonical-revision"] = "latest"
    	}
    
    	svcPorts := make(model.PortList, 0, len(ports))
    	for name, port := range ports {
    		svcPort := &model.Port{
    			Name:     name,
    			Port:     port,
    			Protocol: convertPortNameToProtocol(name),
    		}
    		svcPorts = append(svcPorts, svcPort)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        val cookie = HttpCookie("c", "cookie")
        cookie.domain = server.hostName
        cookie.path = "/"
        val portList = server.port.toString()
        cookie.portlist = portList
        cookieManager.cookieStore.add(server.url("/").toUri(), cookie)
        client =
          client.newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  9. pilot/pkg/model/telemetry_logging_test.go

    	ctx.ServiceIndex.HostnameAndNamespace["otel-collector.foo.svc.cluster.local"] = map[string]*Service{
    		"foo": {
    			Hostname:       "otel-collector.foo.svc.cluster.local",
    			DefaultAddress: "172.217.0.0/16",
    			Ports: PortList{
    				&Port{
    					Name:     "grpc-port",
    					Port:     3417,
    					Protocol: protocol.TCP,
    				},
    				&Port{
    					Name:     "http-port",
    					Port:     3418,
    					Protocol: protocol.HTTP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    )
    
    func TestBuildHTTPRoutes(t *testing.T) {
    	serviceRegistry := map[host.Name]*model.Service{
    		"*.example.org": {
    			Hostname:       "*.example.org",
    			DefaultAddress: "1.1.1.1",
    			Ports: model.PortList{
    				&model.Port{
    					Name:     "default",
    					Port:     8080,
    					Protocol: protocol.HTTP,
    				},
    			},
    		},
    	}
    
    	node := func(cg *core.ConfigGenTest) *model.Proxy {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top