Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsAtLeastVersion (0.33 sec)

  1. pkg/kube/version_test.go

    // limitations under the License.
    
    package kube
    
    import (
    	"fmt"
    	"testing"
    
    	kubeVersion "k8s.io/apimachinery/pkg/version"
    	fakediscovery "k8s.io/client-go/discovery/fake"
    )
    
    func TestIsAtLeastVersion(t *testing.T) {
    	tests := []struct {
    		name           string
    		clusterVersion uint
    		minorVersion   uint
    		want           bool
    	}{
    		{
    			name:           "exact match",
    			clusterVersion: 15,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top