Help us shape the future of Go! Take the 2026 Go Developer Survey

logline

package
v1.16.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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