Documentation
¶
Index ¶
- Constants
- Variables
- type Service
- func (s *Service) Insecure() *Service
- func (s *Service) Service() *compose.Service
- func (s *Service) WithBasicAuth(auth string) *Service
- func (s *Service) WithConnectHeader(header string) *Service
- func (s *Service) WithConnectTo(v string) compose.ServiceBuilder
- func (s *Service) WithCredentials(credentials, address string) *Service
- func (s *Service) WithDNSServer(servers ...string) *Service
- func (s *Service) WithDNSTimeout(timeout time.Duration) *Service
- func (s *Service) WithDenyDomains(domains ...string) *Service
- func (s *Service) WithDirectDomains(domains ...string) *Service
- func (s *Service) WithEnv(key, val string) *Service
- func (s *Service) WithGoleak() *Service
- func (s *Service) WithHTTPDialTimeout(timeout time.Duration) *Service
- func (s *Service) WithHeader(header string) *Service
- func (s *Service) WithIP(network, ipv4 string) *Service
- func (s *Service) WithLocalhostMode(mode string) *Service
- func (s *Service) WithMITM() *Service
- func (s *Service) WithMITMCACert() *Service
- func (s *Service) WithMITMDomains(domains ...string) *Service
- func (s *Service) WithPROXYProtocol() *Service
- func (s *Service) WithPac(pac string) *Service
- func (s *Service) WithProtocol(protocol string) *Service
- func (s *Service) WithReadLimit(limit string) *Service
- func (s *Service) WithResponseHeader(header string) *Service
- func (s *Service) WithSelfSigned(protocol string) *Service
- func (s *Service) WithUpstream(name, protocol string) *Service
- func (s *Service) WithWriteLimit(limit string) *Service
Constants ¶
View Source
const ( Image = "saucelabs/forwarder:${FORWARDER_VERSION}" ProxyServiceName = "proxy" UpstreamProxyServiceName = "upstream-proxy" HttpbinServiceName = "httpbin" GRPCTestServiceName = "grpctest" )
Variables ¶
View Source
var ( HttpbinSchemes = []string{"http", "https", "h2"} ProxySchemes = []string{"http", "https"} )
Functions ¶
This section is empty.
Types ¶
type Service ¶
func GRPCTestService ¶ added in v1.1.2
func GRPCTestService() *Service
func HttpbinService ¶
func HttpbinService() *Service
func ProxyService ¶
func ProxyService() *Service
func UpstreamProxyService ¶
func UpstreamProxyService() *Service
func (*Service) WithBasicAuth ¶
func (*Service) WithConnectHeader ¶ added in v1.3.0
func (*Service) WithConnectTo ¶ added in v1.4.0
func (s *Service) WithConnectTo(v string) compose.ServiceBuilder
func (*Service) WithCredentials ¶
func (*Service) WithDNSServer ¶ added in v1.0.3
func (*Service) WithDNSTimeout ¶ added in v1.1.0
func (*Service) WithDenyDomains ¶ added in v1.1.0
func (*Service) WithDirectDomains ¶ added in v1.1.0
func (*Service) WithGoleak ¶
func (*Service) WithHTTPDialTimeout ¶ added in v1.0.3
func (*Service) WithHeader ¶
func (*Service) WithLocalhostMode ¶
func (*Service) WithMITMCACert ¶ added in v1.1.0
func (*Service) WithMITMDomains ¶ added in v1.1.0
func (*Service) WithPROXYProtocol ¶ added in v1.4.0
func (*Service) WithProtocol ¶
func (*Service) WithReadLimit ¶ added in v1.1.0
func (*Service) WithResponseHeader ¶
func (*Service) WithSelfSigned ¶ added in v1.0.3
func (*Service) WithUpstream ¶
func (*Service) WithWriteLimit ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.