tests

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: GPL-3.0 Imports: 14 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 DNSLookup

func DNSLookup(query, to string) []string

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 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 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