Proxy represents a means to Proxy between cloudflared and the origin services.
| 34 | |
| 35 | // Proxy represents a means to Proxy between cloudflared and the origin services. |
| 36 | type Proxy struct { |
| 37 | ingressRules ingress.Ingress |
| 38 | originDialer ingress.OriginTCPDialer |
| 39 | tags []pogs.Tag |
| 40 | flowLimiter cfdflow.Limiter |
| 41 | log *zerolog.Logger |
| 42 | } |
| 43 | |
| 44 | // NewOriginProxy returns a new instance of the Proxy struct. |
| 45 | func NewOriginProxy( |
nothing calls this directly
no outgoing calls
no test coverage detected