Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewGoRoutineMap (0.13 sec)

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

    	"k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache"
    	"k8s.io/kubernetes/pkg/util/goroutinemap"
    )
    
    // OperationExecutor defines a set of operations for registering and unregistering
    // a plugin that are executed with a NewGoRoutineMap which
    // prevents more than one operation from being triggered on the same socket path.
    //
    // These operations should be idempotent (for example, RegisterPlugin should
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pkg/util/goroutinemap/goroutinemap.go

    	// IsOperationPending returns true if the operation is pending (currently
    	// running), otherwise returns false.
    	IsOperationPending(operationName string) bool
    }
    
    // NewGoRoutineMap returns a new instance of GoRoutineMap.
    func NewGoRoutineMap(exponentialBackOffOnError bool) GoRoutineMap {
    	g := &goRoutineMap{
    		operations:                make(map[string]operation),
    		exponentialBackOffOnError: exponentialBackOffOnError,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 6.8K bytes
    - Viewed (0)
Back to top