system

package
v27.4.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckGoroutineCount

func CheckGoroutineCount(ctx context.Context, apiClient client.SystemAPIClient, expected int) poll.Check

CheckGoroutineCount returns a poll.Check that polls the daemon info API until the expected number of goroutines is hit.

func StableGoroutineCount

func StableGoroutineCount(ctx context.Context, apiClient client.SystemAPIClient, count *int) poll.Check

StableGoroutineCount is a poll.Check that polls the daemon info API until the goroutine count is the same for 3 iterations.

func WaitForStableGoroutineCount

func WaitForStableGoroutineCount(ctx context.Context, t poll.TestingT, apiClient client.SystemAPIClient, opts ...poll.SettingOp) int

WaitForStableGoroutineCount polls the daemon Info API and returns the reported goroutine count after multiple calls return the same number.

Types

This section is empty.

Jump to

Keyboard shortcuts

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