Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/kubelet/volumemanager/volume_manager.go

    }
    
    // verifyVolumesMountedFunc returns a method that returns true when all expected
    // volumes are mounted.
    func (vm *volumeManager) verifyVolumesMountedFunc(podName types.UniquePodName, expectedVolumes []string) wait.ConditionWithContextFunc {
    	return func(_ context.Context) (done bool, err error) {
    		if errs := vm.desiredStateOfWorld.PopPodErrors(podName); len(errs) > 0 {
    			return true, errors.New(strings.Join(errs, "; "))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.27.md

    - Callers of `wait.ExponentialBackoffWithContext` now must pass a `ConditionWithContextFunc` to be consistent with the signature and avoid creating a duplicate context. If your condition does not need a context you can use the `ConditionFunc.WithContext()` helper to ignore the context, or use `ExponentialBackoff` directly. ([#1...
    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