testutil

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAvailableLocalAddress

func GetAvailableLocalAddress(t testing.TB) string

GetAvailableLocalAddress finds an available local port and returns an endpoint describing it. The port is available for opening when this function returns provided that there is no race by some other code to grab the same port immediately.

func UInt64ToSpanID added in v0.24.0

func UInt64ToSpanID(id uint64) pcommon.SpanID

UInt64ToSpanID is from collector-contrib/internal/idutils

func UInt64ToTraceID added in v0.24.0

func UInt64ToTraceID(high, low uint64) pcommon.TraceID

UInt64ToTraceID is from collector-contrib/internal/idutils

Types

This section is empty.

Jump to

Keyboard shortcuts

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