Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 44 of 44 for Writer (7.75 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    		"details-v1-5b7f94f9bc-wp5tb": util.ReadFile(t, "../writer/envoy/logging/testdata/logging.txt"),
    		"httpbin-794b576b6c-qx6pf":    []byte("{}"),
    	}
    	cases := []execTestCase{
    		{
    			args:           []string{},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload.go

    func createConfig(kubeClient kube.CLIClient, wg *clientv1alpha3.WorkloadGroup, istioNamespace, clusterID, ingressIP, internalIP,
    	externalIP string, outputDir string, out io.Writer,
    ) error {
    	if err := os.MkdirAll(outputDir, filePerms); err != nil {
    		return err
    	}
    	var (
    		err         error
    		proxyConfig *meshconfig.ProxyConfig
    	)
    	revision := kubeClient.Revision()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze.go

    	return b.String()
    }
    
    func analyzeTargetAsString() string {
    	if allNamespaces {
    		return "all namespaces"
    	}
    	return fmt.Sprintf("namespace: %s", selectedNamespace)
    }
    
    // TODO: Refactor output writer so that it is smart enough to know when to output what.
    func isJSONorYAMLOutputFormat() bool {
    	return msgOutputFormat == formatting.JSONFormat || msgOutputFormat == formatting.YAMLFormat
    }
    
    type Client struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    		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")
    	}
    
    	w = &fakeOutputWriter{failAfter: 2, injectError: errors.New("error")}
    	if err := writeEncodedObject(w, s); err == nil {
    		t.Error("want error on third write failure")
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
Back to top