Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExtractKubernetesVersion (0.35 sec)

  1. istioctl/pkg/install/k8sversion/version_test.go

    		Minor:      "7",
    		GitVersion: "v1.invalid.7",
    	}
    	versionInvalid2 = &version.Info{
    		Major:      "one",
    		Minor:      "seven",
    		GitVersion: "one.seven",
    	}
    )
    
    func TestExtractKubernetesVersion(t *testing.T) {
    	cases := []struct {
    		version  *version.Info
    		expected int
    		errMsg   error
    		isValid  bool
    	}{
    		{
    			version:  version1_17,
    			expected: 17,
    			errMsg:   nil,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top