Documentation
¶
Index ¶
- type DockerAuthProxy
- func (p *DockerAuthProxy) DoProxy(w http.ResponseWriter, r *http.Request)
- func (p *DockerAuthProxy) InitReverseProxy(targetUrl string) error
- func (p *DockerAuthProxy) ParseRepoRequest(req *http.Request) *common.AuthScope
- func (p *DockerAuthProxy) ProxyHttps() bool
- func (p *DockerAuthProxy) ReplaceResponseLocation(location string, request *http.Request) string
- type JWTConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerAuthProxy ¶
type DockerAuthProxy struct {
ProxyAddress string
CurrentSchema string
ForwardedProto string
ProxyLocationPrefix string
ProxyAuthUserName string
ProxyAuthPassword string
ProxyDockerService string
CurrentHost string
JWT JWTConfig
// contains filtered or unexported fields
}
func (*DockerAuthProxy) DoProxy ¶
func (p *DockerAuthProxy) DoProxy(w http.ResponseWriter, r *http.Request)
func (*DockerAuthProxy) InitReverseProxy ¶
func (p *DockerAuthProxy) InitReverseProxy(targetUrl string) error
func (*DockerAuthProxy) ParseRepoRequest ¶
func (p *DockerAuthProxy) ParseRepoRequest(req *http.Request) *common.AuthScope
func (*DockerAuthProxy) ProxyHttps ¶
func (p *DockerAuthProxy) ProxyHttps() bool
func (*DockerAuthProxy) ReplaceResponseLocation ¶
func (p *DockerAuthProxy) ReplaceResponseLocation(location string, request *http.Request) string
Click to show internal directories.
Click to hide internal directories.