Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 190 for subset16 (0.22 sec)

  1. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    		endpointSlices     []*discovery.EndpointSlice
    		expectedNumActions int
    		expectedNumSlices  int
    	}{{
    		testName: "Endpoints with no addresses",
    		service:  &v1.Service{},
    		endpoints: &v1.Endpoints{
    			Subsets: []v1.EndpointSubset{{
    				Ports: []v1.EndpointPort{{Port: 80}},
    			}},
    		},
    		endpointSlices:     []*discovery.EndpointSlice{},
    		expectedNumActions: 0,
    		expectedNumSlices:  0,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("e");
        assertTrue(set.subSet("c", "g") instanceof ImmutableSortedSet);
        assertThat(set.subSet("c", "g")).contains("e");
        assertThat(set.subSet("e", "g")).contains("e");
        assertSame(this.<String>of(), set.subSet("f", "g"));
        assertSame(this.<String>of(), set.subSet("c", "e"));
        assertSame(this.<String>of(), set.subSet("c", "d"));
      }
    
      public void testSingle_first() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate_test.go

    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
            weight: 25`
    	validVirtualServiceJSON = `{
    "apiVersion": "networking.istio.io/v1alpha3",
    "kind": "VirtualService",
    "metadata": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util_test.go

    									StringValue: "test-subset",
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			"no metadata",
    			&core.Metadata{},
    			"test-subset",
    			&core.Metadata{},
    		},
    	}
    
    	for _, v := range cases {
    		t.Run(v.name, func(tt *testing.T) {
    			AddSubsetToMetadata(v.in, v.subset)
    			got := v.in
    			if diff := cmp.Diff(got, v.want, protocmp.Transform()); diff != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go

    // with apply.
    type EndpointsApplyConfiguration struct {
    	v1.TypeMetaApplyConfiguration    `json:",inline"`
    	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
    	Subsets                          []EndpointSubsetApplyConfiguration `json:"subsets,omitempty"`
    }
    
    // Endpoints constructs an declarative configuration of the Endpoints type for use with
    // apply.
    func Endpoints(name, namespace string) *EndpointsApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  6. tests/integration/ambient/main_test.go

    			ServiceAccount: true,
    			Subsets: []echo.SubsetConfig{
    				{
    					Replicas: 1,
    					Version:  "v1",
    				},
    				{
    					Replicas: 1,
    					Version:  "v2",
    				},
    			},
    		}).
    		WithConfig(echo.Config{
    			Service:        Uncaptured,
    			Namespace:      apps.Namespace,
    			Ports:          ports.All(),
    			ServiceAccount: true,
    			Subsets: []echo.SubsetConfig{
    				{
    					Replicas: 1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/deployment/builder.go

    func (b *builder) validateTemplates(config echo.Config, c cluster.Cluster) bool {
    	expected := sets.New[string]()
    	for _, subset := range config.Subsets {
    		expected.InsertAll(parseList(subset.Annotations[annotation.InjectTemplates.Name])...)
    	}
    	if b.templates == nil || b.templates[c.Name()] == nil {
    		return expected.IsEmpty()
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. pilot/pkg/networking/telemetry/telemetry_test.go

    				ServiceRegistry: provider.Kubernetes,
    				Name:            "reviews",
    				Namespace:       "default",
    			},
    			"reviews.default.svc.cluster.local_grpc-svc_7443",
    		},
    		{
    			"Service FQDN With Empty Subset, Port and Port Name pattern",
    			"%SERVICE_FQDN%%SUBSET_NAME%_%SERVICE_PORT_NAME%_%SERVICE_PORT%",
    			"reviews.default.svc.cluster.local",
    			"",
    			0,
    			&model.Port{Name: "grpc-svc", Port: 7443, Protocol: "GRPC"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 02:38:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/go/types/instantiate.go

    	}
    
    	// If V is itself an interface, each of its possible types must be in the set
    	// of T types (i.e., the V type set must be a subset of the T type set).
    	// Interfaces V with empty type sets were already excluded above.
    	if Vi != nil {
    		if !Vi.typeSet().subsetOf(Ti.typeSet()) {
    			// TODO(gri) report which type is missing
    			if cause != nil {
    				*cause = check.sprintf("%s does not %s %s", V, verb, T)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. pilot/pkg/model/config_test.go

    	hostname := host.Name("hostname")
    	cases := []struct {
    		hostname host.Name
    		subset   string
    		port     int
    		want     string
    	}{
    		{
    			hostname: "hostname",
    			subset:   "subset",
    			port:     80,
    			want:     "outbound|80|subset|hostname",
    		},
    		{
    			hostname: "hostname",
    			subset:   "",
    			port:     80,
    			want:     "outbound|80||hostname",
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top