- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for wantPorts (0.22 sec)
-
pkg/scheduler/framework/plugins/nodeports/node_ports.go
return fitsPorts(getContainerPorts(pod), nodeInfo) } func fitsPorts(wantPorts []*v1.ContainerPort, nodeInfo *framework.NodeInfo) bool { // try to see whether existingPorts and wantPorts will conflict or not existingPorts := nodeInfo.UsedPorts for _, cp := range wantPorts { if existingPorts.CheckConflict(cp.HostIP, string(cp.Protocol), cp.HostPort) { return false } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 10:53:29 UTC 2024 - 7.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
internal/hash/checksum.go
return nil } hasher := c.Type.Hasher() _, err := hasher.Write(content) if err != nil { return err } sum := hasher.Sum(nil) if c.WantParts > 0 && c.WantParts != parts { return ChecksumMismatch{ Want: fmt.Sprintf("%s-%d", c.Encoded, c.WantParts), Got: fmt.Sprintf("%s-%d", base64.StdEncoding.EncodeToString(sum), parts), } } if !bytes.Equal(sum, c.Raw) { return ChecksumMismatch{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 08 16:18:34 UTC 2024 - 12.6K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
cases := []struct { proxyNs string wantHosts []string }{ { proxyNs: "test1", wantHosts: []string{"svc1", "svc2", "svc3", "svc4", "svc4", "svc4"}, }, { proxyNs: "test2", wantHosts: []string{"svc2", "svc3", "svc4", "svc4", "svc4"}, }, { proxyNs: "ns1", wantHosts: []string{"svc1", "svc2", "svc3", "svc4", "svc4", "svc4"}, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0)