utils

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestClient

func NewTestClient(t *testing.T, skt string, srvURL *url.URL, authConfig *ginjwt.AuthConfig) clientv1.HTTPRootClient

func NewUnixsocketPath

func NewUnixsocketPath(t *testing.T) string

NewUnixsocketPath returns a new unix socket path for testing.

func RunTestServer

func RunTestServer(t *testing.T, srv *common.Server)

func WaitForServer

func WaitForServer(t *testing.T, cli clientv1.HTTPClient)

Types

This section is empty.

Jump to

Keyboard shortcuts

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