- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 207 for portMap (0.14 sec)
-
pkg/config/analysis/analyzers/deployment/services.go
func servicePortMap(svcs []ServiceSpecWithName) PortMap { portMap := PortMap{} for _, swn := range svcs { svc := swn.Spec for _, sPort := range svc.Ports { // If it is the first occurrence of this port, create a ProtocolMap if _, ok := portMap[sPort.Port]; !ok { portMap[sPort.Port] = ProtocolMap{} } // Default protocol is TCP
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 6.6K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/rc_patch.go
}) // In case the patches cause panic, use the route generated before to reduce the influence. out = routeConfiguration if efw == nil { return out } var portMap model.GatewayPortMap if proxy.MergedGateway != nil { portMap = proxy.MergedGateway.PortMap } // only merge is applicable for route configuration. for _, rp := range efw.Patches[networking.EnvoyFilter_ROUTE_CONFIGURATION] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 13K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go
// FROM: http://golang.org/src/net/http/transport.go var portMap = map[string]string{ "http": "80", "https": "443", "socks5": "1080", } // FROM: http://golang.org/src/net/http/transport.go // canonicalAddr returns url.Host but always with a ":port" suffix func CanonicalAddr(url *url.URL) string { addr := url.Host if !hasPort(addr) { return addr + ":" + portMap[url.Scheme] } return addr
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 21 10:49:41 UTC 2022 - 723 bytes - Viewed (0) -
pkg/kube/inject/app_probe.go
readyz, livez, startupz := status.FormatProberURL(c.Name) portMap := map[string]int32{} for _, p := range c.Ports { if p.Name != "" { portMap[p.Name] = p.ContainerPort } } if h := updateNamedPort(kubeProbeToInternalProber(c.ReadinessProbe), portMap); h != nil { out[readyz] = h } if h := updateNamedPort(kubeProbeToInternalProber(c.LivenessProbe), portMap); h != nil { out[livez] = h }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.4K bytes - Viewed (0) -
cni/test/testdata/pre/nover_calico.conflist
"type": "calico-ipam" }, "policy": { "type": "k8s" }, "kubernetes": { "kubeconfig": "/etc/cni/net.d/calico-kubeconfig" } }, { "type": "portmap", "snat": true, "capabilities": { "portMappings": true } } ]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 503 bytes - Viewed (0) -
cni/test/testdata/pre/noplugins_calico.conflist
"type": "calico-ipam" }, "policy": { "type": "k8s" }, "kubernetes": { "kubeconfig": "/etc/cni/net.d/calico-kubeconfig" } }, { "type": "portmap", "snat": true, "capabilities": { "portMappings": true } } ]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 527 bytes - Viewed (0) -
cni/test/testdata/expected/10-calico.conflist-istioconfig
"policy": { "type": "k8s" }, "type": "calico" }, { "capabilities": { "portMappings": true }, "snat": true, "type": "portmap" }, { "ambient_enabled": false, "cni_event_address": "/tmp/cnieventfoo", "dns": {}, "ipam": {}, "kubernetes": { "exclude_namespaces": [ "istio-system"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 935 bytes - Viewed (0) -
cni/test/testdata/pre/calico.conflist
"policy": { "type": "k8s" }, "type": "calico" }, { "capabilities": { "portMappings": true }, "snat": true, "type": "portmap" } ]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 528 bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/rc_patch_test.go
}, }, rc: &route.RouteConfiguration{Name: "http.8443"}, portMap: map[int]sets.Set[int]{ 8443: {443: {}}, }, }, want: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := routeConfigurationMatch(tt.args.patchContext, tt.args.rc, tt.args.cp, tt.args.portMap); got != tt.want { t.Errorf("routeConfigurationMatch() = %v, want %v", got, tt.want)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 32.4K bytes - Viewed (0) -
pkg/proxy/winkernel/hns.go
if len(lb.FrontendVIPs) == 0 { // Leave VIP uninitialized id = loadBalancerIdentifier{protocol: uint16(portMap.Protocol), internalPort: portMap.InternalPort, externalPort: portMap.ExternalPort, endpointsHash: hash} } else { id = loadBalancerIdentifier{protocol: uint16(portMap.Protocol), internalPort: portMap.InternalPort, externalPort: portMap.ExternalPort, vip: lb.FrontendVIPs[0], endpointsHash: hash} } loadBalancers[id] = &loadBalancerInfo{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 21:21:12 UTC 2023 - 15K bytes - Viewed (0)