- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CompareContent (0.19 sec)
-
istioctl/pkg/writer/envoy/configdump/configdump_test.go
cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/configdump.json") if tt.callPrime { cw.Prime(cd) } err := cw.PrintBootstrapDump("json") if tt.wantOutputFile != "" { util.CompareContent(t, gotOut.Bytes(), tt.wantOutputFile) } if err == nil && tt.wantErr { t.Errorf("PrintBootstrapDump (%v) did not produce expected err", tt.name) } else if err != nil && !tt.wantErr {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump_test.go
t.Errorf("PrintSecretSummary (%v) did not produce expected err", tt.name) } else if err != nil && !tt.wantErr { t.Errorf("PrintSecretSummary (%v) produced unexpected err: %v", tt.name, err) } util.CompareContent(t, gotOut.Bytes(), tt.wantOutputSecret) } if tt.wantOutputWorkload != "" { wf := WorkloadFilter{Verbose: true} if tt.configNamespace != "" { wf.Namespace = tt.configNamespace }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Feb 02 18:21:48 GMT 2024 - 3.6K bytes - Viewed (0)