kubernetesk8s.io/kubernetes/pkg/util/proxy Index | Files

package proxy

import "k8s.io/kubernetes/pkg/util/proxy"

Package proxy provides transport and upgrade support for proxies

Index

Types

type Transport

type Transport struct {
	Scheme      string
	Host        string
	PathPrepend string
}

Transport is a transport for text/html content that replaces URLs in html content with the prefix of the proxy server

func (*Transport) RoundTrip

func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip implements the http.RoundTripper interface

Source Files

doc.go transport.go

Version
v0.16.2
Published
May 4, 2015
Platform
js/wasm
Imports
12 packages
Last checked
42 seconds ago

Tools for package owners.