logline

package
v1.17.20 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithStderrLineContains

func WithStderrLineContains(lines ...string) func(*options)

func WithStdoutLineContains

func WithStdoutLineContains(lines ...string) func(*options)

Types

type LogLine

type LogLine struct {
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, fopts ...Option) *LogLine

func (*LogLine) Cleanup

func (l *LogLine) Cleanup(t *testing.T)

func (*LogLine) Contains added in v1.17.7

func (l *LogLine) Contains(s string) bool

func (*LogLine) EventuallyFoundAll

func (l *LogLine) EventuallyFoundAll(t *testing.T)

func (*LogLine) EventuallyFoundNone added in v1.16.1

func (l *LogLine) EventuallyFoundNone(t *testing.T)

func (*LogLine) FoundAll

func (l *LogLine) FoundAll() bool

func (*LogLine) FoundNone added in v1.16.1

func (l *LogLine) FoundNone() bool

func (*LogLine) Run

func (l *LogLine) Run(t *testing.T, ctx context.Context)

func (*LogLine) Stderr

func (l *LogLine) Stderr() io.WriteCloser

func (*LogLine) Stdout

func (l *LogLine) Stdout() io.WriteCloser

func (*LogLine) StdoutBuffer added in v1.16.4

func (l *LogLine) StdoutBuffer() []byte

type Option

type Option func(*options)

Option is a function that configures the process.

Jump to

Keyboard shortcuts

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