Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for serviceHostname (0.26 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	expectedSvcList := []*model.Service{
    		{
    			Hostname:       kube.ServiceHostname("svc1", "nsA", defaultFakeDomainSuffix),
    			DefaultAddress: "10.0.0.1",
    			Ports: model.PortList{
    				&model.Port{
    					Name:     "tcp-port",
    					Port:     8080,
    					Protocol: protocol.TCP,
    				},
    			},
    		},
    		{
    			Hostname:       kube.ServiceHostname("svc2", "nsA", defaultFakeDomainSuffix),
    			DefaultAddress: "10.0.0.1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context_test.go

    		serviceNs              string
    		serviceHostname        string
    		expectedDrCount        int
    		expectedDrName         []string
    		expectedNamespacedFrom map[string][]types.NamespacedName
    	}{
    		{
    			name:            "return list of DRs for specific host",
    			proxyNs:         "test",
    			serviceNs:       "test",
    			serviceHostname: testhost,
    			expectedDrCount: 3,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  3. pkg/proxy/endpointschangetracker_test.go

    		currentEndpointSlices          []*discovery.EndpointSlice
    		previousEndpointsMap           map[ServicePortName][]*BaseEndpointInfo
    		expectedResult                 map[ServicePortName][]*BaseEndpointInfo
    		expectedDeletedUDPEndpoints    []ServiceEndpoint
    		expectedNewlyActiveUDPServices map[ServicePortName]bool
    		expectedLocalEndpoints         map[types.NamespacedName]int
    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. pkg/proxy/winkernel/proxier.go

    func (proxier *Proxier) onServiceMapChange(svcPortName *proxy.ServicePortName) {
    
    	svc, exists := proxier.svcPortMap[*svcPortName]
    
    	if exists {
    		svcInfo, ok := svc.(*serviceInfo)
    
    		if !ok {
    			klog.ErrorS(nil, "Failed to cast serviceInfo", "servicePortName", svcPortName)
    			return
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  5. pkg/proxy/iptables/proxier.go

    func serviceExternalChainName(servicePortName string, protocol string) utiliptables.Chain {
    	return utiliptables.Chain(serviceExternalChainNamePrefix + portProtoHash(servicePortName, protocol))
    }
    
    // servicePortEndpointChainName returns the name of the KUBE-SEP-XXXX chain for a particular
    // service endpoint.
    func servicePortEndpointChainName(servicePortName string, protocol string, endpoint string) utiliptables.Chain {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier.go

    	// two characters allowed in a chain name that isn't allowed in our input strings.
    
    	name := fmt.Sprintf("%s/%s/%s/%s",
    		servicePortName.NamespacedName.Namespace,
    		servicePortName.NamespacedName.Name,
    		protocol,
    		servicePortName.Port,
    	)
    
    	// The namespace, service, and port name can each be up to 63 characters, protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier.go

    		svcInfo, ok := svcPort.(*servicePortInfo)
    		if !ok {
    			proxier.logger.Error(nil, "Failed to cast serviceInfo", "servicePortName", svcPortName)
    			continue
    		}
    
    		protocol := strings.ToLower(string(svcInfo.Protocol()))
    		// Precompute svcNameString; with many services the many calls
    		// to ServicePortName.String() show up in CPU profiles.
    		svcPortNameString := svcPortName.String()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    		return nil
    	}
    	shards.RLock()
    	defer shards.RUnlock()
    	return slices.FilterInPlace(slices.Flatten(maps.Values(shards.Shards)), func(endpoint *model.IstioEndpoint) bool {
    		return pn == "" || endpoint.ServicePortName == pn
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/sidecar_simulation_test.go

    			continue
    		}
    		ret = append(ret, &model.ServiceInstance{
    			Service:     svc,
    			ServicePort: p,
    			Endpoint: &model.IstioEndpoint{
    				Address:         proxy.IPAddresses[0],
    				ServicePortName: p.Name,
    				EndpointPort:    uint32(targetPort),
    			},
    		})
    	}
    	return ret
    }
    
    func TestInboundClusters(t *testing.T) {
    	proxy := &model.Proxy{
    		IPAddresses: []string{"1.2.3.4"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		return nil
    	}
    	shards.RLock()
    	defer shards.RUnlock()
    	return slices.FilterInPlace(slices.Flatten(maps.Values(shards.Shards)), func(endpoint *model.IstioEndpoint) bool {
    		return pn == "" || endpoint.ServicePortName == pn
    	})
    }
    
    func genTestSpiffe(ns, serviceAccount string) string {
    	return spiffe.URIPrefix + "cluster.local/ns/" + ns + "/sa/" + serviceAccount
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top