Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for SubsetOf (0.07 sec)

  1. pilot/pkg/xds/endpoints/endpoint_builder.go

    		if ep.Address != "" && ep.EndpointPort != 0 && !netutil.IsValidIPAddress(ep.Address) {
    			return false
    		}
    		// filter out endpoints that don't match the subset
    		if !b.subsetLabels.SubsetOf(ep.Labels) {
    			return false
    		}
    		return true
    	})
    
    	localityLbEndpoints := b.generate(svcEps)
    	if len(localityLbEndpoints) == 0 {
    		return buildEmptyClusterLoadAssignment(b.clusterName)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway.go

    			continue
    		}
    		for _, port := range service.Ports {
    			if port.Protocol == protocol.UDP {
    				continue
    			}
    			matchFound := false
    			for _, h := range hosts {
    				if service.Hostname.SubsetOf(host.Name(h)) {
    					matchFound = true
    					break
    				}
    			}
    			if !matchFound {
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  3. pkg/kubelet/pleg/generic_test.go

    		{ID: "4567", Type: ContainerStarted, Data: "c4"},
    	}
    	// event channel is full, discard events
    	actual = getEventsFromChannel(ch)
    	assert.True(t, len(actual) == 4, "channel length should be 4")
    	assert.Subsetf(t, allEvents, actual, "actual events should in all events")
    }
    
    func TestDetectingContainerDeaths(t *testing.T) {
    	// Vary the number of relists after the container started and before the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top