tests

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEtcd

func AssertEtcd(t *testing.T, c *storage.Client, key *storage.Key, expected ...interface{})

func Context

func Context() context.Context

func HasLocalDocker

func HasLocalDocker() bool

func Listen added in v0.4.9

func Listen(port int32) string

func MustJSON

func MustJSON(in interface{}) string

func MustParseNetIP added in v0.9.0

func MustParseNetIP(t *testing.T, r string) netip.Addr

func MustProto added in v0.17.2

func MustProto(in protoreflect.ProtoMessage) []byte

func PanicIfError added in v0.6.12

func PanicIfError(args ...interface{})

func RandomString

func RandomString(prefix ...string) string

func ResetEtcd added in v0.4.12

func ResetEtcd(t *testing.T)

func Setup added in v0.9.0

func Setup(t *testing.T) func()

func WaitForPort added in v0.4.0

func WaitForPort(port int32)

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