Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for SplitHostPort (0.93 sec)

  1. internal/config/identity/ldap/config.go

    		return val
    	}
    
    	ldapServer := getCfgVal(ServerAddr)
    	if ldapServer == "" {
    		return l, nil
    	}
    
    	// Set ServerName in TLS config for proper certificate validation
    	host, _, err := net.SplitHostPort(ldapServer)
    	if err != nil {
    		host = ldapServer
    	}
    
    	l.LDAP = ldap.Config{
    		ServerAddr:    ldapServer,
    		SRVRecordName: getCfgVal(SRVRecordName),
    		TLS: &tls.Config{
    			ServerName:         host,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Sep 18 11:47:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. internal/event/target/webhook.go

    		store:      queueStore,
    		cancel:     cancel,
    		cancelCh:   ctx.Done(),
    	}
    
    	// Calculate the webhook addr with the port number format
    	target.addr = args.Endpoint.Host
    	if _, _, err := net.SplitHostPort(args.Endpoint.Host); err != nil && strings.Contains(err.Error(), "missing port in address") {
    		switch strings.ToLower(args.Endpoint.Scheme) {
    		case "http":
    			target.addr += ":80"
    		case "https":
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. internal/config/dns/etcd_dns.go

    		return nil, errors.New("invalid argument")
    	}
    
    	// strip ports off of domainIPs
    	domainIPsWithoutPorts := args.domainIPs.ApplyFunc(func(ip string) string {
    		host, _, err := net.SplitHostPort(ip)
    		if err != nil {
    			if strings.Contains(err.Error(), "missing port in address") {
    				host = ip
    			}
    		}
    		return host
    	})
    	args.domainIPs = domainIPsWithoutPorts
    
    	return args, nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. cmd/ftp-server-driver.go

    }
    
    func (driver *ftpDriver) getMinIOClient(ctx *ftp.Context) (*minio.Client, error) {
    	tr := http.RoundTripper(globalRemoteFTPClientTransport)
    	if host, _, err := net.SplitHostPort(ctx.Sess.RemoteAddr().String()); err == nil {
    		tr = forwardForTransport{tr: tr, fwd: host}
    	}
    	ui, ok := globalIAMSys.GetUser(context.Background(), ctx.Sess.LoginUser())
    	if !ok && !globalIAMSys.LDAPConfig.Enabled() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. cmd/api-router.go

    	for _, domainName := range globalDomainNames {
    		if IsKubernetes() {
    			routers = append(routers, apiRouter.MatcherFunc(func(r *http.Request, match *mux.RouteMatch) bool {
    				host, _, err := net.SplitHostPort(getHost(r))
    				if err != nil {
    					host = r.Host
    				}
    				// Make sure to skip matching minio.<domain>` this is
    				// specifically meant for operator/k8s deployment
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. cmd/common-main.go

    			l, err := net.Listen("TCP", fmt.Sprintf(":%s", p.String()))
    			if err == nil {
    				defer l.Close()
    			}
    			consoleAddr = net.JoinHostPort("", p.String())
    		}
    
    		if _, _, err := net.SplitHostPort(consoleAddr); err != nil {
    			logger.FatalIf(err, "Unable to start listening on console port")
    		}
    
    		if consoleAddr == addr {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  7. api/go1.txt

    pkg net, func ResolveTCPAddr(string, string) (*TCPAddr, error)
    pkg net, func ResolveUDPAddr(string, string) (*UDPAddr, error)
    pkg net, func ResolveUnixAddr(string, string) (*UnixAddr, error)
    pkg net, func SplitHostPort(string) (string, string, error)
    pkg net, method (*AddrError) Error() string
    pkg net, method (*AddrError) Temporary() bool
    pkg net, method (*AddrError) Timeout() bool
    pkg net, method (*DNSConfigError) Error() string
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top