Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for svc4 (0.2 sec)

  1. pilot/pkg/model/push_context_test.go

    		},
    		{
    			proxyNs:   "test2",
    			wantHosts: []string{"svc2", "svc3", "svc4", "svc4", "svc4"},
    		},
    		{
    			proxyNs:   "ns1",
    			wantHosts: []string{"svc1", "svc2", "svc3", "svc4", "svc4", "svc4"},
    		},
    		{
    			proxyNs:   "random",
    			wantHosts: []string{"svc3", "svc4", "svc4", "svc4"},
    		},
    	}
    	for _, tt := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			},
    		},
    		[]*model.Service{svc1, svc2, svc3},
    		2,
    		meshWatcher,
    		fx,
    		controller,
    	)
    
    	// permit all discovery namespaces by omitting discovery selectors (1 create event should trigger for the nsC service)
    	updateMeshConfig(
    		&meshconfig.MeshConfig{
    			DiscoverySelectors: []*meshconfig.LabelSelector{},
    		},
    		[]*model.Service{svc1, svc2, svc3, svc4},
    		1,
    		meshWatcher,
    		fx,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. pkg/proxy/endpointschangetracker_test.go

    			namespacedName:         types.NamespacedName{Name: "svc1", Namespace: "ns1"},
    			paramEndpointSlice:     generateEndpointSlice("svc1", "ns1", 1, 3, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](80), ptr.To[int32](443)}),
    			paramRemoveSlice:       false,
    			expectedReturnVal:      true,
    			expectedCurrentChange: map[ServicePortName][]*BaseEndpointInfo{
    				makeServicePortName("ns1", "svc1", "port-0", v1.ProtocolTCP): {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s.addService(t, "svc1",
    		map[string]string{},
    		map[string]string{},
    		[]int32{80}, map[string]string{"app": "a"}, "10.0.0.1")
    	s.assertEvent(t, s.podXdsName("pod1"), s.svcXdsName("svc1"))
    
    	s.labelService(t, "svc1", testNS, map[string]string{constants.AmbientUseWaypointLabel: "test-wp"})
    	s.assertEvent(t, s.svcXdsName("svc1"))
    	s.assertNoEvent(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    			printPod(writer, pod, opts.Revision)
    
    			svcs, err := client.Kube().CoreV1().Services(ns).List(context.TODO(), metav1.ListOptions{})
    			if err != nil {
    				return err
    			}
    
    			matchingServices := make([]corev1.Service, 0, len(svcs.Items))
    			for _, svc := range svcs.Items {
    				if len(svc.Spec.Selector) > 0 {
    					svcSelector := klabels.SelectorFromSet(svc.Spec.Selector)
    					if svcSelector.Matches(podLabels) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    				},
    			},
    		},
    	}
    	return pods, svc
    }
    
    func streamTestData() (io.Reader, *v1.PodList, *v1.ServiceList) {
    	pods, svc := testData()
    	r, w := io.Pipe()
    	go func() {
    		defer w.Close()
    		w.Write([]byte(runtime.EncodeOrDie(corev1Codec, pods)))
    		w.Write([]byte(runtime.EncodeOrDie(corev1Codec, svc)))
    	}()
    	return r, pods, svc
    }
    
    func subresourceTestData(name string) *v1.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		for _, svc := range gotServices {
    			if v, ok := gotIPMap[svc.AutoAllocatedIPv4Address]; ok && v != svc.Hostname.String() {
    				t.Errorf("multiple allocations of same IP address to different services with different hostname: %s", svc.AutoAllocatedIPv4Address)
    			}
    			gotIPMap[svc.AutoAllocatedIPv4Address] = svc.Hostname.String()
    			serviceIPMap[svc.Hostname.String()] = svc.AutoAllocatedIPv4Address
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/defaults_test.go

    		}
    	}
    }
    
    func TestSetDefaultService(t *testing.T) {
    	svc := &v1.Service{}
    	obj2 := roundTrip(t, runtime.Object(svc))
    	svc2 := obj2.(*v1.Service)
    	if svc2.Spec.SessionAffinity != v1.ServiceAffinityNone {
    		t.Errorf("Expected default session affinity type:%s, got: %s", v1.ServiceAffinityNone, svc2.Spec.SessionAffinity)
    	}
    	if svc2.Spec.SessionAffinityConfig != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar_test.go

    			},
    		},
    		{
    			Hostname: "baz.svc.cluster.local",
    			Ports:    port7443,
    			Attributes: ServiceAttributes{
    				Name:      "baz",
    				Namespace: "ns3",
    			},
    		},
    		{
    			Hostname: "bar.svc.cluster.local",
    			Ports:    port7442,
    			Attributes: ServiceAttributes{
    				Name:      "bar",
    				Namespace: "ns2",
    			},
    		},
    		{
    			Hostname: "barprime.svc.cluster.local",
    			Ports:    port7442,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/httproute_test.go

    				"allow_any": {"*"},
    				"test.default.svc.cluster.local:80": {
    					"test.default.svc.cluster.local",
    					"test",
    					"test.default.svc",
    				},
    				"test.default:80": {"test.default"},
    			},
    			map[string]string{
    				"allow_any": "PassthroughCluster",
    				// From the service, go to the service
    				"test.default.svc.cluster.local:80": "outbound|80||test.default.svc.cluster.local",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
Back to top