- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for JoinHostPort (0.11 sec)
-
istioctl/pkg/writer/ztunnel/configdump/connections.go
} lookupIP := func(addr string) string { if filter.Raw { return addr } ip, port, _ := net.SplitHostPort(addr) if s, f := serviceNames[ip]; f { return net.JoinHostPort(s, port) } if w, f := workloadNames[ip]; f { return net.JoinHostPort(w, port) } return addr } fmt.Fprintln(w, "WORKLOAD\tDIRECTION\tLOCAL\tREMOTE\tREMOTE TARGET") workloads := maps.Values(d.WorkloadState)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 3.5K bytes - Viewed (0) -
cmd/endpoint.go
} if peerSet.IsEmpty() { // Local peer can be empty in FS or Erasure coded mode. // If so, return globalMinioHost + globalMinioPort value. if host != "" { return net.JoinHostPort(host, port) } return net.JoinHostPort("127.0.0.1", port) } return peerSet.ToSlice()[0] } // GetProxyEndpointLocalIndex returns index of the local proxy endpoint
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 34.2K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} protocol := model.GetOrDefault(cfg.K8sServiceProtocol, "https") cluster := &api.Cluster{ Server: fmt.Sprintf("%s://%s", protocol, net.JoinHostPort(cfg.K8sServiceHost, cfg.K8sServicePort)), } if cfg.SkipTLSVerify { // User explicitly opted into insecure. cluster.InsecureSkipTLSVerify = true } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0) -
internal/http/check_port_others.go
lc := &net.ListenConfig{} ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use. // Close the listener and continue check other networks. return l.Close()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.5K bytes - Viewed (0) -
internal/http/check_port_linux.go
} }) return nil }, } ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use. // Close the listener and continue check other networks. return l.Close()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
cmd/ftp-server.go
PassivePorts: portRange, PublicIP: publicIP, }) if err != nil { logger.Fatal(err, "unable to initialize FTP server") } logger.Info(fmt.Sprintf("%s listening on %s", name, net.JoinHostPort(publicIP, strconv.Itoa(port)))) if err = ftpServer.ListenAndServe(); err != nil { logger.Fatal(err, "unable to start FTP server") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/net.go
ipList = []string{globalMinioConsoleHost} } consoleEndpoints = make([]string, 0, len(ipList)) for _, ip := range ipList { consoleEndpoints = append(consoleEndpoints, getURLScheme(globalIsTLS)+"://"+net.JoinHostPort(ip, globalMinioConsolePort)) } return consoleEndpoints } func getAPIEndpoints() (apiEndpoints []string) { if globalMinioEndpoint != "" { return []string{globalMinioEndpoint} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (0) -
internal/http/dial_dnscache.go
return baseDialCtx(ctx, "tcp", addr) } ips, err := lookupHost(ctx, host) if err != nil { return nil, err } for _, ip := range ips { conn, err = baseDialCtx(ctx, "tcp", net.JoinHostPort(ip, port)) if err == nil { break } } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 03 19:30:51 UTC 2023 - 2.6K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/server-main.go
addrs.Add(net.JoinHostPort(ip, globalMinioPort)) } host, _ := mustSplitHostPort(globalMinioAddr) if host != "" { ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second) defer cancel() haddrs, err := globalDNSCache.LookupHost(ctx, host) if err == nil { for _, addr := range haddrs { addrs.Add(net.JoinHostPort(addr, globalMinioPort)) } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (1)