wait

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimeout = 10 * time.Minute

Functions

func RegexpMatchingInPodLog added in v0.13.0

func RegexpMatchingInPodLog(ctx context.Context, clients *params.Run, 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