(baseProxy *BaseProxy)
| 34 | } |
| 35 | |
| 36 | func NewHTTPSProxy(baseProxy *BaseProxy) Proxy { |
| 37 | unwrapped, ok := baseProxy.GetConfigurer().(*v1.HTTPSProxyConfig) |
| 38 | if !ok { |
| 39 | return nil |
| 40 | } |
| 41 | return &HTTPSProxy{ |
| 42 | BaseProxy: baseProxy, |
| 43 | cfg: unwrapped, |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | func (pxy *HTTPSProxy) Run() (remoteAddr string, err error) { |
| 48 | xl := pxy.xl |
nothing calls this directly
no test coverage detected
searching dependent graphs…