Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 277 for subset16 (0.92 sec)

  1. pkg/proxy/nftables/proxier_test.go

    	}
    	subset1 := func(eps *discovery.EndpointSlice) {
    		eps.AddressType = discovery.AddressTypeIPv4
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"10.1.1.1"},
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p11"),
    			Port:     ptr.To[int32](11),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	subset2 := func(eps *discovery.EndpointSlice) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  2. pkg/maps/maps.go

    	maps.Copy(dst, override)
    	return dst
    }
    
    // Contains checks if all key-value pairs in 'subset' are present in 'superset'.
    // It returns true only if every key in 'subset' exists in 'superset' and their corresponding values are equal.
    func Contains[M1, M2 ~map[K]V, K comparable, V comparable](superset M1, subset M2) bool {
    	for key, value := range subset {
    		if supersetValue, ok := superset[key]; !ok || supersetValue != value {
    			return false
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. pkg/test/framework/components/cluster/clusters.go

    		return true
    	}, exclude(excluded...))
    }
    
    // Configs returns the subset that are config clusters.
    func (c Clusters) Configs(excluded ...Cluster) Clusters {
    	return c.filterClusters(func(cc Cluster) bool {
    		return cc.IsConfig()
    	}, exclude(excluded...))
    }
    
    // Remotes returns the subset that are remote clusters.
    func (c Clusters) Remotes(excluded ...Cluster) Clusters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K 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. tests/integration/security/filebased_tls_origination/main_test.go

    		// Do not inject, as we are testing non-Istio TLS here
    		Subsets: []echo.SubsetConfig{{
    			Version:     "v1",
    			Annotations: map[string]string{annotation.SidecarInject.Name: "false"},
    		}},
    		Cluster: ctx.Clusters().Default(),
    	}
    
    	internalClient := echo.Config{
    		Service:   "internal-client",
    		Namespace: appNamespace,
    		Ports:     []echo.Port{},
    		Subsets: []echo.SubsetConfig{{
    			Version: "v1",
    		}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K 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/datasets/validation/dataset/networking-v1beta1-DestinationRule.yaml

    apiVersion: networking.istio.io/v1beta1
    kind: DestinationRule
    metadata:
      name: valid-destination-rule
    spec:
      host: c
      subsets:
        - name: v1
          labels:
            version: v1
        - name: v2
          labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 01 14:30:05 UTC 2024
    - 228 bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public NavigableSet<E> subSet(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return new SafeTreeSet<>(
            delegate.subSet(
                checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive));
      }
    
      @Override
      public SortedSet<E> subSet(E fromElement, E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public NavigableSet<E> subSet(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return new SafeTreeSet<>(
            delegate.subSet(
                checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive));
      }
    
      @Override
      public SortedSet<E> subSet(E fromElement, E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    	}
    
    	direction, subset, hostname, port := model.ParseSubsetKey(cluster.Name)
    
    	hostMatches := []host.Name{hostname}
    	// For inbound clusters, host parsed from subset key will be empty. Use the passed in service name.
    	if direction == model.TrafficDirectionInbound && len(hosts) > 0 {
    		hostMatches = hosts
    	}
    
    	if cMatch.Subset != "" && cMatch.Subset != subset {
    		return false
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top