systemtest

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	net.Conn
	// contains filtered or unexported fields
}

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) Read

func (c *Conn) Read(b []byte) (int, error)

func (*Conn) Write

func (c *Conn) Write(b []byte) (int, error)

type FIProxy

type FIProxy struct {
	// contains filtered or unexported fields
}

FIProxy is a fault injecting proxy hooked into the sarama-config to proxy connections to kafka and inject connection loss etc.

func NewFIProxy

func NewFIProxy() *FIProxy

func (*FIProxy) Dial

func (fip *FIProxy) Dial(network, addr string) (c net.Conn, err error)

func (*FIProxy) ResetErrors

func (fip *FIProxy) ResetErrors()

func (*FIProxy) SetReadError

func (fip *FIProxy) SetReadError(err error)

func (*FIProxy) SetWriteError

func (fip *FIProxy) SetWriteError(err error)

func (*FIProxy) String

func (fip *FIProxy) String() string

Jump to

Keyboard shortcuts

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