testhelpers

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const (
	VagrantKafkaPeers     = "192.168.100.67:9091"
	VagrantZookeeperPeers = "192.168.100.67:2181"
)

Variables

View Source
var (
	KafkaPeers     []string
	ZookeeperPeers []string
)

Functions

func InitLogging

func InitLogging()

InitLogging initializes both internal and 3rd party loggers to output logs using the test context object's `Log` function.

func NewTestProxyCfg added in v0.12.0

func NewTestProxyCfg(clientID string) *config.Proxy

func NewUDSHTTPClient

func NewUDSHTTPClient(unixSockAddr string) *http.Client

NewUDSHTTPClient creates an HTTP client that always connects to the specified unix domain socket ignoring the host part of requested HTTP URLs.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL