testutils

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithNewLogger added in v0.2.0

func ContextWithNewLogger() (context.Context, error)

ContextWithNewLogger create a new context with new logger

func FormatYaml

func FormatYaml(in string) []byte

formatYaml is a utility function for stripping out tabs in multiline strings

func WaitForString added in v0.9.0

func WaitForString(ctx context.Context, re *regexp.Regexp, pr io.ReadCloser) (string, error)

WaitForString waits until the server logs a single line that matches the provided regex. returns the output of whatever the server sent so far.

Types

This section is empty.

Jump to

Keyboard shortcuts

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