Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForWithContext (0.22 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    // waitForWithContext cancels the context it supplies to the WaitWithContextFunc.
    func Test_waitForWithContextCancelsContext(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	waitFn := poller(time.Millisecond, ForeverTestTimeout)
    
    	var ctxPassedToWait context.Context
    	waitForWithContext(ctx, func(ctx context.Context) <-chan struct{} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.27.md

    - The `WaitFor` and `WaitForWithContext` functions in the wait package have now been marked private. Callers should use the equivalent `Poll*` method with a zero duration interval. ([#115116](https://github.com/kubernetes/kubernetes/pull/115116), [@smarterclayton](https://github....
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
Back to top