Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinURLPath ¶
JoinURLPath function copied from httputil.reverseproxy.go
func RewriteRequestURL ¶
RewriteRequestURL rewrites the `req` URL so that it can be forwarded to `target`
func SingleJoiningSlash ¶
SingleJoiningSlash function copied from httputil.reverseproxy.go
Types ¶
type Proxy ¶
type Proxy struct { cmd.RootCommand Audience string ServiceAccount string ConfigurationName string UseDefaultCredentials bool TargetURL string ProjectID string ToGKEClusters bool HostNames []string HTTPProtocol bool // contains filtered or unexported fields }
Proxy for GKE private master endpoints
func (*Proxy) IsAllowedProxyEndpoint ¶
func (p *Proxy) IsAllowedProxyEndpoint() goproxy.ReqConditionFunc
IsAllowedProxyEndpoint return true if the request is targets an allowed proxy endpoint
Click to show internal directories.
Click to hide internal directories.