 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInjectableTransport ¶ added in v0.18.6
func NewInjectableTransport(rt http.RoundTripper) http.RoundTripper
NewInjectableTransport returns a http.RoundTripper that extracts DNS configuration from each request's context to determine the appropriate resolver.
func NewTransport ¶
func NewTransport(rt http.RoundTripper, dns *oci.DNSConfig) http.RoundTripper
NewTransport returns a http.RoundTripper that will respect the settings in the given network configuration as a logical override to the host's /etc/hosts and/or /etc/resolv.conf.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.