Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 755 for svc5 (0.07 sec)

  1. pkg/proxy/servicechangetracker_test.go

    	servicev1 := makeTestService("ns1", "svc1", func(svc *v1.Service) {
    		svc.Spec.Type = v1.ServiceTypeClusterIP
    		svc.Spec.ClusterIP = "172.16.55.4"
    		svc.Spec.Ports = addTestPort(svc.Spec.Ports, "p1", "UDP", 1234, 4321, 0)
    		svc.Spec.Ports = addTestPort(svc.Spec.Ports, "p2", "TCP", 1235, 5321, 0)
    	})
    	servicev2 := makeTestService("ns1", "svc1", func(svc *v1.Service) {
    		svc.Spec.Type = v1.ServiceTypeLoadBalancer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/util/util_test.go

    									StringValue: "/apis/networking.istio.io/v1alpha3/namespaces/default/destination-rule/svcA",
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			"empty metadata",
    			config.Meta{
    				Name:             "svcA",
    				Namespace:        "default",
    				Domain:           "svc.cluster.local",
    				GroupVersionKind: gvk.DestinationRule,
    			},
    			&core.Metadata{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    		expectedInList bool
    	}{{
    		testName:  "Service with matching EndpointSlice",
    		namespace: "ns1",
    		name:      "svc1",
    		endpointSlice: &discovery.EndpointSlice{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "example-1",
    				Namespace: "ns1",
    				Labels: map[string]string{
    					discovery.LabelServiceName: "svc1",
    					discovery.LabelManagedBy:   controllerName,
    				},
    			},
    		},
    		expectedInList: true,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  4. 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)
  5. pilot/pkg/networking/core/listener_waypoint.go

    }
    
    func (lb *ListenerBuilder) buildWaypointInternal(wls []model.WorkloadInfo, svcs []*model.Service) *listener.Listener {
    	ipMatcher := &matcher.IPMatcher{}
    	chains := []*listener.FilterChain{}
    	for _, svc := range svcs {
    		portMapper := match.NewDestinationPort()
    		for _, port := range svc.Ports {
    			if port.Protocol == protocol.UDP {
    				continue
    			}
    			portString := strconv.Itoa(port.Port)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-redirect.yaml

          sectionName: https
      hostnames:
        - my-filter.example.com
      rules:
        - matches:
            - path:
                type: PathPrefix
                value: /
          backendRefs:
            - name: my-filter-svc1
              weight: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	s.assertEvent(t, s.podXdsName("pod1"))
    
    	s.addService(t, "svc1", map[string]string{}, // labels
    		map[string]string{}, // annotations
    		[]int32{80},
    		map[string]string{"app": "a"}, // selector
    		"10.0.0.1",
    	)
    	s.assertEvent(t, s.podXdsName("pod1"), "ns1/svc1.ns1.svc.company.com")
    
    	s.clearEvents()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    func checkExternalNameAlias(cli kube.CLIClient, messages *diag.Messages) error {
    	svcs, err := cli.Kube().CoreV1().Services(metav1.NamespaceAll).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return err
    	}
    	for _, svc := range svcs.Items {
    		if svc.Spec.Type != corev1.ServiceTypeExternalName {
    			continue
    		}
    		res := ObjectToInstance(&svc)
    		messages.Add(msg.NewUpdateIncompatibility(res,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. pkg/registry/core/service/storage/storage_test.go

    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	svc := validService()
    	svc.ObjectMeta = metav1.ObjectMeta{} // because genericregistrytest
    	test.TestCreate(
    		// valid
    		svc,
    		// invalid
    		&api.Service{
    			Spec: api.ServiceSpec{},
    		},
    	)
    }
    
    func TestGenericUpdate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top