Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for portnet (0.16 sec)

  1. pkg/apis/core/v1/defaults_test.go

    	hostPortNum := s2.Containers[0].Ports[0].HostPort
    	if hostPortNum != portNum {
    		t.Errorf("Expected container port to be defaulted, was made %d instead of %d", hostPortNum, portNum)
    	}
    
    	hostPortNum = s2.InitContainers[0].Ports[0].HostPort
    	if hostPortNum != portNum {
    		t.Errorf("Expected container port to be defaulted, was made %d instead of %d", hostPortNum, portNum)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. docs/tr/docs/deployment/cloud.md

    * <a href="https://docs.porter.run/language-specific-guides/fastapi" class="external-link" target="_blank">Porter</a>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue May 28 14:05:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/config.go

    	portGen := newPortGenerators()
    	for _, p := range c.Ports {
    		if p.ServicePort > 0 {
    			if portGen.Service.IsUsed(p.ServicePort) {
    				return fmt.Errorf("failed configuring port %s: service port already used %d", p.Name, p.ServicePort)
    			}
    			portGen.Service.SetUsed(p.ServicePort)
    		}
    		if p.WorkloadPort > 0 {
    			if portGen.Instance.IsUsed(p.WorkloadPort) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/endpointshards.go

    			var portNum int
    			if ep.LegacyClusterPortKey != 0 {
    				if !ports.Contains(ep.LegacyClusterPortKey) {
    					continue
    				}
    				portNum = ep.LegacyClusterPortKey
    			} else {
    				pn, f := portMap[ep.ServicePortName]
    				if !f {
    					continue
    				}
    				portNum = pn
    			}
    			res[portNum] = append(res[portNum], ep)
    		}
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. src/net/ipsock.go

    	var (
    		err        error
    		host, port string
    		portnum    int
    	)
    	switch net {
    	case "tcp", "tcp4", "tcp6", "udp", "udp4", "udp6":
    		if addr != "" {
    			if host, port, err = SplitHostPort(addr); err != nil {
    				return nil, err
    			}
    			if portnum, err = r.LookupPort(ctx, net, port); err != nil {
    				return nil, err
    			}
    		}
    	case "ip", "ip4", "ip6":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/en/overrides/main.html

          </a>
        </div>
        <div class="item">
          <a title="Deploy FastAPI on AWS with a few clicks" style="display: block; position: relative;" href="https://www.porter.run" target="_blank">
            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/porter-banner.png" />
          </a>
        </div>
        <div class="item">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    			t, ok := p["targetPort"].(float64)
    			if !ok {
    				continue
    			}
    			tp = int(t)
    		}
    
    		rport, ok := p["port"].(float64)
    		if !ok {
    			continue
    		}
    		portnum := int(rport)
    		if tp == 0 && portnum > 1024 {
    			// Target port defaults to port. If its >1024, it is safe.
    			continue
    		}
    		if tp < 1024 {
    			// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/string_utils.cc

      }
    
      // Set num of string
      //
      // NOTE: The string buffer is accessed here as if it's native endian (instead
      // of small endian, as documented in the header). This will protentially break
      // when TFLite is ported to big endian platforms.
      // TODO(b/165919229): This code will need changing if/when we port to a
      // big-endian platform.
      memcpy(*buffer, &num_strings, sizeof(int32_t));
    
      // Set offset of strings.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller.go

    		} else {
    			for i := range service.Spec.Ports {
    				servicePort := &service.Spec.Ports[i]
    				portNum, err := podutil.FindPort(pod, servicePort)
    				if err != nil {
    					logger.V(4).Info("Failed to find port for service", "service", klog.KObj(service), "error", err)
    					continue
    				}
    				epp := endpointPortFromServicePort(servicePort, portNum)
    
    				var readyEps, notReadyEps int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    			for _, port := range slice.Ports {
    				var portNum int32
    				if port.Port != nil {
    					portNum = *port.Port
    				}
    				var portName string
    				if port.Name != nil {
    					portName = *port.Name
    				}
    
    				istioEndpoint := builder.buildIstioEndpoint(a, portNum, portName, discoverabilityPolicy, healthStatus)
    				endpoints = append(endpoints, istioEndpoint)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top