tests

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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 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