- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for HostPort (0.1 sec)
-
pkg/scheduler/framework/plugins/nodeports/node_ports_test.go
{ ContainerPort: 8001, HostPort: 8001, Protocol: v1.ProtocolTCP, }, { ContainerPort: 8002, HostPort: 8002, Protocol: v1.ProtocolTCP, }, { ContainerPort: 8003, HostPort: 8003, Protocol: v1.ProtocolTCP, }, { ContainerPort: 8004, HostPort: 8004, Protocol: v1.ProtocolTCP,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 11:02:11 UTC 2023 - 10.1K bytes - Viewed (0) -
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/apis/core/v1/validation/validation_test.go
accumulator *sets.String fldPath *field.Path }{{ name: "HostPort is not allocated while containers use the same port with different protocol", containers: []v1.Container{{ Ports: []v1.ContainerPort{{ HostPort: 8080, Protocol: v1.ProtocolUDP, }}, }, { Ports: []v1.ContainerPort{{ HostPort: 8080, Protocol: v1.ProtocolTCP, }}, }}, accumulator: &sets.String{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 11.2K 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) -
pkg/scheduler/eventhandlers_test.go
st.MakePod().Name("p6").Obj(), st.MakePod().Name("p7").Node("invalid-node").Obj(), st.MakePod().Name("p8").HostPort(8080).Obj(), st.MakePod().Name("p9").HostPort(80).Obj(), }, want: []bool{true, false, false, true, false, true, false, true, false}, }, { name: "tainted node, pods with a single constraint", nodeFn: func() *v1.Node {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 10 14:38:54 UTC 2024 - 21.5K 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)