Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/multicluster/remote_secret_test.go

    			Name: "foo",
    		},
    	}
    
    	w := &fakeOutputWriter{failAfter: 0, injectError: errors.New("error")}
    	if err := writeEncodedObject(w, s); err == nil {
    		t.Error("want error on local write failure")
    	}
    
    	w = &fakeOutputWriter{failAfter: 1, injectError: errors.New("error")}
    	if err := writeEncodedObject(w, s); err == nil {
    		t.Error("want error on remote write failure")
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top