- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for portsMatch (0.18 sec)
-
pkg/controller/endpointslicemirroring/reconciler_test.go
continue } var matchingEndpointsV4, matchingEndpointsV6 []discovery.Endpoint for _, epSlice := range endpointSlices { if portsMatch(epSubset.Ports, epSlice.Ports) { switch epSlice.AddressType { case discovery.AddressTypeIPv4: matchingEndpointsV4 = append(matchingEndpointsV4, epSlice.Endpoints...) case discovery.AddressTypeIPv6:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 42.7K bytes - Viewed (0) -
pilot/pkg/networking/core/tls.go
} labelMatch := labels.Instance(match.SourceLabels).SubsetOf(proxyLabels) portMatch := match.Port == 0 || match.Port == uint32(port) nsMatch := match.SourceNamespace == "" || match.SourceNamespace == proxyNamespace return gatewayMatch && labelMatch && portMatch && nsMatch } // Match by source labels, the listener port where traffic comes in, the gateway on which the rule is being
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 14.7K bytes - Viewed (0) -
pkg/apis/core/v1/validation/validation.go
allErrs := field.ErrorList{} for ci, ctr := range containers { idxPath := fldPath.Index(ci) portsPath := idxPath.Child("ports") for pi := range ctr.Ports { idxPath := portsPath.Index(pi) port := ctr.Ports[pi].HostPort if port == 0 { continue } str := fmt.Sprintf("%d/%s", port, ctr.Ports[pi].Protocol) if accumulator.Has(str) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 6.7K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway.go
} func isPortMatch(port uint32, server *networking.Server) bool { // if there's no port predicate, portMatch is true; otherwise we evaluate the port predicate against the server's port portMatch := port == 0 if port != 0 { portMatch = server.Port.Number == port } return portMatch } func isGatewayMatch(gateway string, gatewayNames []string) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
allErrs := field.ErrorList{} for ci, ctr := range containers { idxPath := fldPath.Index(ci) portsPath := idxPath.Child("ports") for pi := range ctr.Ports { idxPath := portsPath.Index(pi) port := ctr.Ports[pi].HostPort if port == 0 { continue } str := fmt.Sprintf("%s/%s/%d", ctr.Ports[pi].Protocol, ctr.Ports[pi].HostIP, port)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0)