Documentation
¶
Index ¶
- Constants
- Variables
- type Service
- func (s *Service) Service() *compose.Service
- func (s *Service) WithBasicAuth(auth string) *Service
- func (s *Service) WithCredentials(credentials, address string) *Service
- func (s *Service) WithEnv(key, val string) *Service
- func (s *Service) WithGoleak() *Service
- func (s *Service) WithHeader(header string) *Service
- func (s *Service) WithLocalhostMode(mode string) *Service
- func (s *Service) WithPac(pac string) *Service
- func (s *Service) WithProtocol(protocol string) *Service
- func (s *Service) WithResponseHeader(header string) *Service
- func (s *Service) WithUpstream(name, protocol string) *Service
Constants ¶
View Source
const ( Image = "saucelabs/forwarder:${FORWARDER_VERSION}" ProxyServiceName = "proxy" UpstreamProxyServiceName = "upstream-proxy" HttpbinServiceName = "httpbin" )
Variables ¶
View Source
var ( HttpbinSchemes = []string{"http", "https", "h2"} ProxySchemes = []string{"http", "https"} )
Functions ¶
This section is empty.
Types ¶
type Service ¶
func HttpbinService ¶
func HttpbinService() *Service
func ProxyService ¶
func ProxyService() *Service
func UpstreamProxyService ¶
func UpstreamProxyService() *Service
func (*Service) WithBasicAuth ¶
func (*Service) WithCredentials ¶
func (*Service) WithGoleak ¶
func (*Service) WithHeader ¶
func (*Service) WithLocalhostMode ¶
func (*Service) WithProtocol ¶
func (*Service) WithResponseHeader ¶
func (*Service) WithUpstream ¶
Click to show internal directories.
Click to hide internal directories.