thelper

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBName string
View Source
var MySQLDsn string

Functions

func BuildJaegerResource added in v0.0.2

func BuildJaegerResource(serviceName string) *v1.Resource

func CreateTemp

func CreateTemp(t *testing.T, pattern string, fn func(*os.File))

func DecodeHex added in v0.0.2

func DecodeHex(t *testing.T, h string) []byte

func InjectClientDist

func InjectClientDist()

func MockMysqlDB

func MockMysqlDB(t *testing.T, f func(*mysql.DB, sqlmock.Sqlmock))

func MockPostgresDB

func MockPostgresDB(t *testing.T, f func(*postgres.DB, sqlmock.Sqlmock))

func ReadFromFiles

func ReadFromFiles(t *testing.T, filename string) string

func SetUp

func SetUp()

func UseGRPCServer added in v0.0.2

func UseGRPCServer(t *testing.T, reader spanstore.Reader, fn func(net.Addr))

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