Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetRevisionForTest (0.07 sec)

  1. istioctl/pkg/cli/context.go

    		if f.version != "" {
    			cliclient = kube.NewFakeClientWithVersion(f.version, f.objects...)
    		} else {
    			cliclient = kube.NewFakeClient(f.objects...)
    		}
    		if rev != "" {
    			kube.SetRevisionForTest(cliclient, rev)
    		}
    		c := MockClient{
    			CLIClient: cliclient,
    			Results:   f.results,
    		}
    		f.clients[rev] = c
    	}
    	return f.clients[rev], nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top