Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PrintSecretSummary (0.1 sec)

  1. istioctl/pkg/writer/envoy/configdump/secret_test.go

    				t.Errorf("error reading test data output file: %v", err)
    			}
    
    			gotOut := &bytes.Buffer{}
    			cw := &ConfigWriter{Stdout: gotOut}
    			err = cw.Prime(configDump)
    			assert.NoError(t, err)
    			err = cw.PrintSecretSummary()
    			assert.NoError(t, err)
    
    			assert.Equal(t, string(expectedOut), gotOut.String())
    		})
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		Args:    common.validateArgs,
    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintSecretSummary()
    			case jsonOutput, yamlOutput:
    				return cw.PrintSecretDump(common.outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    					log.Warnf("couldn't parse envoy secrets dump: %v", err)
    				}
    			}
    			if err != nil {
    				return err
    			}
    			switch outputFormat {
    			case summaryOutput:
    				return cw.PrintSecretSummary()
    			case jsonOutput, yamlOutput:
    				return cw.PrintSecretDump(outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top