- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for HostPort (0.21 sec)
-
pkg/api/pod/warnings_test.go
Ports: []api.ContainerPort{ {ContainerPort: 80, HostPort: 80, Protocol: api.ProtocolUDP}, {ContainerPort: 180, HostPort: 80, Protocol: api.ProtocolUDP}, {ContainerPort: 80, HostPort: 80, Protocol: api.ProtocolUDP}, }, }, { Name: "foo", Ports: []api.ContainerPort{ {ContainerPort: 80, HostPort: 80, Protocol: api.ProtocolUDP},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/scheduler/framework/types_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
src/net/ip_test.go
// Opaque service name {"golang.org", "https%foo", "golang.org:https%foo"}, // Go 1 behavior } { if hostPort := JoinHostPort(tt.host, tt.port); hostPort != tt.hostPort { t.Errorf("JoinHostPort(%q, %q) = %q; want %q", tt.host, tt.port, hostPort, tt.hostPort) } } } var ipAddrFamilyTests = []struct { in IP af4 bool af6 bool }{ {IPv4bcast, true, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 01:17:29 UTC 2024 - 25.7K bytes - Viewed (0) -
pkg/api/pod/warnings.go
if port.HostIP == other.port.HostIP && port.HostPort == other.port.HostPort { // Exactly-equal is obvious. Validation should already filter for this except when these are unspecified. warnings = append(warnings, fmt.Sprintf("%s: duplicate port definition with %s", fldPath.Child("ports").Index(i), other.field)) } else if port.HostPort == 0 || other.port.HostPort == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 16.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
pkg/kubelet/container/helpers.go
func MakePortMappings(container *v1.Container) (ports []PortMapping) { names := make(map[string]struct{}) for _, p := range container.Ports { pm := PortMapping{ HostPort: int(p.HostPort), ContainerPort: int(p.ContainerPort), Protocol: p.Protocol, HostIP: p.HostIP, } // We need to determine the address family this entry applies to. We do this to ensure
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml
port: portValue terminationGracePeriodSeconds: 7 timeoutSeconds: 3 name: nameValue ports: - containerPort: 3 hostIP: hostIPValue hostPort: 2 name: nameValue protocol: protocolValue readinessProbe: exec: command: - commandValue failureThreshold: 6 grpc:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 34.8K bytes - Viewed (0)