Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/precheck/precheck_test.go

    		"1.21")
    
    	assert.Equal(t, expectedOutput, messages[0])
    }
    
    func init() {
    	cli.MakeKubeFactory = func(k kube.CLIClient) cmdutil.Factory {
    		tf := cmdtesting.NewTestFactory()
    		_, _, codec := cmdtesting.NewExternalScheme()
    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top