Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for HostPort (0.26 sec)

  1. src/net/ipsock.go

    		if bytealg.IndexByteString(host, ':') >= 0 {
    			return addrErr(hostport, tooManyColons)
    		}
    	}
    	if bytealg.IndexByteString(hostport[j:], '[') >= 0 {
    		return addrErr(hostport, "unexpected '[' in address")
    	}
    	if bytealg.IndexByteString(hostport[k:], ']') >= 0 {
    		return addrErr(hostport, "unexpected ']' in address")
    	}
    
    	port = hostport[i+1:]
    	return host, port, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/store.go

    		s.instancesByHostAndPort.Delete(hostPort{ikey, i.ServicePort.Port})
    		oldInstances := s.instances[ikey][key]
    		delete(s.instances[ikey], key)
    		if len(s.instances[ikey]) == 0 {
    			delete(s.instances, ikey)
    		}
    		delete(s.ip2instance, i.Endpoint.Address)
    		// Cleanup stale IPs, if the IPs changed
    		for _, oi := range oldInstances {
    			s.instancesByHostAndPort.Delete(hostPort{ikey, oi.ServicePort.Port})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. cluster/gce/manifests/konnectivity-server.yaml

          timeoutSeconds: 60
        ports:
        - name: agentport
          containerPort: {{ agent_port }}
          hostPort: {{ agent_port }}
        - name: healthport
          containerPort: {{ health_port }}
          hostPort: {{ health_port }}
        - name: adminport
          containerPort: {{ admin_port }}
          hostPort: {{ admin_port }}
        volumeMounts:
        - name: varlogkonnectivityserver
          mountPath: /var/log/konnectivity-server.log
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 10:31:11 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/types_test.go

    				v1.ResourceCPU:    "100m",
    				v1.ResourceMemory: "500",
    			}).ContainerPort([]v1.ContainerPort{{
    				HostIP:   "127.0.0.1",
    				HostPort: 80,
    				Protocol: "TCP",
    			}}).Obj()}).
    			Obj(),
    
    		st.MakePod().UID("test-2").Namespace("node_info_cache_test").Name("test-2").Node(nodeName).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  5. cluster/gce/manifests/etcd.manifest

          "failureThreshold": 5
        },
        "ports": [
          { "name": "serverport",
            "containerPort": {{ server_port }},
            "hostPort": {{ server_port }}
          },
          { "name": "clientport",
            "containerPort": {{ port }},
            "hostPort": {{ port }}
          }
            ],
        "volumeMounts": [
          { "name": "varetcd",
            "mountPath": "/var/etcd",
            "readOnly": false
          },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    				p.Write(w)
    			}),
    		},
    	}
    
    	url := "http://" + args.Hostport
    
    	o.UI.Print("Serving web UI on ", url)
    
    	if o.UI.WantBrowser() && !disableBrowser {
    		go openBrowser(url, o)
    	}
    	return server(args)
    }
    
    func getHostAndPort(hostport string) (string, int, error) {
    	host, portStr, err := net.SplitHostPort(hostport)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    // HTTPServerArgs contains arguments needed by an HTTP server that
    // is exporting a pprof web interface.
    type HTTPServerArgs struct {
    	// Hostport contains the http server address (derived from flags).
    	Hostport string
    
    	Host string // Host portion of Hostport
    	Port int    // Port portion of Hostport
    
    	// Handlers maps from URL paths to the handler to invoke to
    	// serve that path.
    	Handlers map[string]http.Handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. pkg/scheduler/testing/wrappers.go

    func (c *ContainerWrapper) Image(image string) *ContainerWrapper {
    	c.Container.Image = image
    	return c
    }
    
    // HostPort sets `hostPort` as the host port of the inner Container.
    func (c *ContainerWrapper) HostPort(hostPort int32) *ContainerWrapper {
    	c.Container.Ports = []v1.ContainerPort{{HostPort: hostPort}}
    	return c
    }
    
    // ContainerPort sets `ports` as the ports of the inner Container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  9. pkg/kubelet/container/helpers_test.go

    	port := func(name string, protocol v1.Protocol, containerPort, hostPort int32, ip string) v1.ContainerPort {
    		return v1.ContainerPort{
    			Name:          name,
    			Protocol:      protocol,
    			ContainerPort: containerPort,
    			HostPort:      hostPort,
    			HostIP:        ip,
    		}
    	}
    	portMapping := func(protocol v1.Protocol, containerPort, hostPort int, ip string) PortMapping {
    		return PortMapping{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    		for idx := range containerPortMappings {
    			port := containerPortMappings[idx]
    			hostPort := int32(port.HostPort)
    			containerPort := int32(port.ContainerPort)
    			protocol := toRuntimeProtocol(port.Protocol)
    			portMappings = append(portMappings, &runtimeapi.PortMapping{
    				HostIp:        port.HostIP,
    				HostPort:      hostPort,
    				ContainerPort: containerPort,
    				Protocol:      protocol,
    			})
    		}
    
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top