wait

package
v0.19.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimeout = 10 * time.Minute

Functions

func RegexpMatchingInControllerLog added in v0.18.0

func RegexpMatchingInControllerLog(ctx context.Context, clients *params.Run, reg regexp.Regexp, maxNumberOfLoop int) error

func RegexpMatchingInPodLog added in v0.13.0

func RegexpMatchingInPodLog(ctx context.Context, clients *params.Run, ns, labelselector, containerName string, reg regexp.Regexp, maxNumberOfLoop int) error

func Succeeded

func Succeeded(ctx context.Context, t *testing.T, runcnx *params.Run, opts options.E2E, onEvent, targetNS string, numberofprmatch int, sha, title string)

func UntilMinPRAppeared added in v0.13.0

func UntilMinPRAppeared(ctx context.Context, clients clients.Clients, opts Opts, minNumber int) error

func UntilRepositoryUpdated

func UntilRepositoryUpdated(ctx context.Context, clients clients.Clients, opts Opts) error

Types

type Opts

type Opts struct {
	RepoName        string
	Namespace       string
	MinNumberStatus int
	PollTimeout     time.Duration
	AdminNS         string
	TargetSHA       string
}

Jump to

Keyboard shortcuts

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