Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckQueueEq (0.09 sec)

  1. pkg/controller/nodelifecycle/scheduler/rate_limited_queue_test.go

    */
    
    package scheduler
    
    import (
    	"reflect"
    	"testing"
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/client-go/util/flowcontrol"
    	"k8s.io/klog/v2/ktesting"
    )
    
    func CheckQueueEq(lhs []string, rhs TimedQueue) bool {
    	for i := 0; i < len(lhs); i++ {
    		if rhs[i].Value != lhs[i] {
    			return false
    		}
    	}
    	return true
    }
    
    func CheckSetEq(lhs, rhs sets.String) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 17:40:33 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top