- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 426 for PORT (0.07 sec)
-
pkg/config/validation/validation.go
errs = AppendValidation(errs, agent.ValidatePort(int(port.Number))) } // nolint: staticcheck if port.TargetPort > 0 { errs = AppendValidation(errs, fmt.Errorf("targetPort has no impact on Gateways")) } if port.Name == "" { errs = AppendValidation(errs, fmt.Errorf("port name must be set: %v", port)) } return } func validateServerBind(port *networking.Port, bind string) (errs error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
cmd/net.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
pl := &workloadapi.PortList{ Ports: make([]*workloadapi.Port, 0, len(svc.Ports)), } res[n] = pl for _, port := range svc.Ports { targetPort := port.TargetPort // The svc.Ports represents the workloadapi.Service, which drops the port name info and just has numeric target Port. // TargetPort can be 0 which indicates its a named port. Check if its a named port and replace with the real targetPort if so.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
src/net/udpsock_posix.go
"net/netip" "syscall" ) func sockaddrToUDP(sa syscall.Sockaddr) Addr { switch sa := sa.(type) { case *syscall.SockaddrInet4: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port} case *syscall.SockaddrInet6: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))} } return nil } func (a *UDPAddr) family() int { if a == nil || len(a.IP) <= IPv4len { return syscall.AF_INET }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:54:32 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/config/kube/conversion.go
grpcWebLen = len(grpcWeb) ) // ConvertProtocol from k8s protocol and port name func ConvertProtocol(port int32, portName string, proto corev1.Protocol, appProto *string) protocol.Instance { if proto == corev1.ProtocolUDP { return protocol.UDP } // If application protocol is set, we will use that // If not, use the port name name := portName if appProto != nil { name = *appProto
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 2.3K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
probe: `{"/app-health/hello-world/readyz": {"grpc": {"port": 8888}, "httpGet": {"path": "/", "port": 7777}}}`, err: "must be one of type httpGet, tcpSocket or gRPC", }, // Port is not Int typed (tcpSocket). { probe: `{"/app-health/hello-world/readyz": {"tcpSocket": {"port": "tcp"}}}`, err: "must be int type", }, // Port is not Int typed (httpGet). {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
src/net/ipsock.go
// "host%zone:port", "[host]:port" or "[host%zone]:port" into host or // host%zone and port. // // A literal IPv6 address in hostport must be enclosed in square // brackets, as in "[::1]:80", "[::1%lo0]:80". // // See func Dial for a description of the hostport parameter, and host // and port results. func SplitHostPort(hostport string) (host, port string, err error) { const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
src/net/tcpsock_posix.go
"io" "os" "syscall" ) func sockaddrToTCP(sa syscall.Sockaddr) Addr { switch sa := sa.(type) { case *syscall.SockaddrInet4: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port} case *syscall.SockaddrInet6: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))} } return nil } func (a *TCPAddr) family() int { if a == nil || len(a.IP) <= IPv4len { return syscall.AF_INET }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:54:32 UTC 2024 - 6.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
} return model.ServiceTarget{ Service: svc, Port: model.ServiceInstancePort{ ServicePort: &model.Port{ Name: svcPort.Name, Port: int(svcPort.Number), Protocol: protocol.Parse(svcPort.Protocol), }, TargetPort: uint32(port), }, } } // nolint: unparam func makeInstance(cfg *config.Config, address string, port int,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
t.Fatalf("expected %d listeners, found %d", len(tc.expectedListener), len(listeners)) } for _, port := range tc.expectedListener { l := findListenerByPort(listeners, uint32(port)) if l == nil { t.Fatalf("found no listener with port %d", port) } } }) } } func TestOutboundListenerDualStackWildcard(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0)