common

package
v0.64.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MockHTTPPortStart = 6060
	StorePortStart    = 9991
	IngestorPortStart = 9891
	Localhost         = "127.0.0.1"
)

Variables

View Source
var (
	ProjectRoot = filepath.Join(filepath.Dir(b), "..", "..")
	TestsDir    = filepath.Join(ProjectRoot, "tests")

	TestDataDir = filepath.Join(TestsDir, "data")
)

Functions

func CreateDir

func CreateDir(path string)

func CreateTempDir

func CreateTempDir() string

func GetTestTmpDir

func GetTestTmpDir(t *testing.T) string

func RandomString

func RandomString(minLen, maxLen int) string

func RecreateDir

func RecreateDir(path string)

func RemoveDir

func RemoveDir(path string)

func ToStringSlice

func ToStringSlice(s [][]byte) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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