Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatURL (0.08 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/http.go

    	case RoundTripperWrapper:
    		return TLSClientConfig(transport.WrappedRoundTripper())
    	default:
    		return nil, fmt.Errorf("unknown transport type: %T", transport)
    	}
    }
    
    func FormatURL(scheme string, host string, port int, path string) *url.URL {
    	return &url.URL{
    		Scheme: scheme,
    		Host:   net.JoinHostPort(host, strconv.Itoa(port)),
    		Path:   path,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 05 00:08:58 UTC 2022
    - 20.8K bytes
    - Viewed (0)
Back to top