Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotaryEndpoint = ""
NotaryEndpoint , exported for testing.
View Source
var Proxy *httputil.ReverseProxy
Proxy is the instance of the reverse proxy in this package.
Functions ¶
func Handle ¶
func Handle(rw http.ResponseWriter, req *http.Request)
Handle handles the request. 开启代理,对请求进行修改。将请求发送到 registry 去
func MatchListRepos ¶
MatchListRepos checks if the request looks like a request to list repositories.
Types ¶
Click to show internal directories.
Click to hide internal directories.