Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 341 for svc5 (0.04 sec)

  1. pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml.golden

          uri:
            exact: /baz
        name: allowed-2.http.1
        route:
        - destination:
            host: svc2.allowed-2.svc.domain.suffix
            port:
              number: 80
      - match:
        - uri:
            prefix: /foo/bar
        name: allowed-2.http.0
        route:
        - destination:
            host: svc2.allowed-2.svc.domain.suffix
            port:
              number: 80
      - match:
        - headers:
            my-header:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/util/ipvs_test.go

    )
    
    func TestVirtualServerEqual(t *testing.T) {
    	Tests := []struct {
    		svcA   *VirtualServer
    		svcB   *VirtualServer
    		equal  bool
    		reason string
    	}{
    		{
    			svcA: &VirtualServer{
    				Address:   netutils.ParseIPSloppy("10.20.30.40"),
    				Protocol:  "",
    				Port:      0,
    				Scheduler: "wrr",
    				Flags:     0,
    				Timeout:   0,
    			},
    			svcB: &VirtualServer{
    				Address:   netutils.ParseIPSloppy("10.20.30.41"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/deployment/services.go

    	})
    
    	return matchingSvcs
    }
    
    // servicePortMap build a map of ports and protocols for each Service. e.g. m[80]["TCP"] -> svcA, svcB, svcC
    func servicePortMap(svcs []ServiceSpecWithName) PortMap {
    	portMap := PortMap{}
    
    	for _, swn := range svcs {
    		svc := swn.Spec
    		for _, sPort := range svc.Ports {
    			// If it is the first occurrence of this port, create a ProtocolMap
    			if _, ok := portMap[sPort.Port]; !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml

            value: /foo
          headers:
          - name: my-header
            value: some-value
            type: Exact
        backendRefs:
        - name: svc1
          port: 80
      - matches:
        - path:
            type: RegularExpression
            value: /foo((\/).*)?
        backendRefs:
        - name: svc2
          port: 80
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: allowed-2
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/testdata/benchmark-httproute.yaml

            value: /foo
          headers:
          - name: my-header
            value: some-value
            type: Exact
        backendRefs:
        - name: svc1
          port: 80
      - matches:
        - path:
            type: RegularExpression
            value: /foo((\/).*)?
        backendRefs:
        - name: svc2
          port: 80
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: allowed-2
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. pkg/proxy/config/api_test.go

    		{Name: svc1.Name, Namespace: svc1.Namespace}: svc1,
    		{Name: svc2.Name, Namespace: svc2.Namespace}: svc2,
    	}
    	expectedEpsState := map[types.NamespacedName]*discoveryv1.EndpointSlice{
    		{Name: eps1.Name, Namespace: eps1.Namespace}: eps1,
    		{Name: eps2.Name, Namespace: eps2.Namespace}: eps2,
    	}
    
    	// Setup fake api client.
    	client := fake.NewSimpleClientset(svc1, svc2, eps2, eps1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pkg/controller/endpointslicemirroring/metrics/cache_test.go

    	c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc1"}, spCacheInefficient)
    	expectNumEndpointsAndSlices(t, c, 2, 13, 30)
    
    	c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc2"}, spCacheEfficient)
    	expectNumEndpointsAndSlices(t, c, 4, 15, 110)
    
    	c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc3"}, spCacheInefficient)
    	expectNumEndpointsAndSlices(t, c, 6, 28, 140)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_server_journal_test.go

    			}
    		})
    	}
    }
    
    func Test_validateServices(t *testing.T) {
    	var (
    		service1 = "svc1"
    		service2 = "svc2"
    		service3 = "svc.foo"
    		service4 = "svc_foo"
    		service5 = "svc@foo"
    		service6 = "svc:foo"
    		invalid1 = "svc\n"
    		invalid2 = "svc.foo\n"
    	)
    	tests := []struct {
    		name     string
    		services []string
    		wantErr  bool
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 22:27:44 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/services.go

    	for _, svc := range svcs {
    		var ip string
    		if len(svc.Addresses) > 0 {
    			_, ip, _ = strings.Cut(svc.Addresses[0], "/")
    		}
    		waypoint := serviceWaypointName(svc, zDump.Services)
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			svc.Namespace, svc.Name, ip, waypoint)
    	}
    	return w.Flush()
    }
    
    // PrintServiceDump prints the relevant services in the config dump to the ConfigWriter stdout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/net/rpc/debug.go

    	// Build a sorted version of the data.
    	var services serviceArray
    	server.serviceMap.Range(func(snamei, svci any) bool {
    		svc := svci.(*service)
    		ds := debugService{svc, snamei.(string), make([]debugMethod, 0, len(svc.method))}
    		for mname, method := range svc.method {
    			ds.Method = append(ds.Method, debugMethod{method, mname})
    		}
    		slices.SortFunc(ds.Method, func(a, b debugMethod) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top