Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for numOperationsStarted (0.26 sec)

  1. pkg/kubelet/pluginmanager/operationexecutor/operation_executor_test.go

    		return nil
    	}
    	return opFunc
    }
    
    func isOperationRunSerially(ch <-chan interface{}, quit chan<- interface{}) bool {
    	defer close(quit)
    	numOperationsStarted := 0
    loop:
    	for {
    		select {
    		case <-ch:
    			numOperationsStarted++
    			if numOperationsStarted > 1 {
    				return false
    			}
    		case <-time.After(5 * time.Second):
    			break loop
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_executor_test.go

    		},
    	}
    }
    
    func isOperationRunSerially(ch <-chan interface{}, quit chan<- interface{}) bool {
    	defer close(quit)
    	numOperationsStarted := 0
    loop:
    	for {
    		select {
    		case <-ch:
    			numOperationsStarted++
    			if numOperationsStarted > 1 {
    				return false
    			}
    		case <-time.After(5 * time.Second):
    			break loop
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top