wait

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchDef

type MatchDef struct {
	Run   string
	Match string
	// total time to wait
	Deadline time.Duration
	// delay between checks
	Step time.Duration
}

type Wait

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

func New

func New(logger micrologger.Logger, runner runner.Runner, matcher patterns.Matcher) *Wait

func (*Wait) For

func (w *Wait) For(md *MatchDef) error

Jump to

Keyboard shortcuts

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