Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fakediscovery (0.06 sec)

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

    	var errBuf bytes.Buffer
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) {
    			k8sClient := kube.NewFakeClient()
    			k8sClient.Kube().Discovery().(*fakediscovery.FakeDiscovery).FakedServerVersion = c.version
    
    			logger := clog.NewConsoleLogger(&outBuf, &errBuf, nil)
    			IsK8VersionSupported(k8sClient, logger)
    
    			errMsgTrim := strings.TrimSpace(c.logMsg)
    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