- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for got (0.14 sec)
-
cni/pkg/iptables/iptables.go
// // We do this so we can exempt this traffic from ztunnel capture/proxy - otherwise both kube-proxy (legit) // and kubelet (skippable) traffic would have the same srcip once they got to the pod, and would be indistinguishable. // // Note that SortedList is used here because the istio sets class has no order guarantees, // and our unit tests will flake if rules have a nondeterministic ordering.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
node := actual.(map[string]any) got, f, err := tpath.GetPathContext(node, util.PathFromString(pv.path), false) if err != nil || !f { return false, err } if reflect.TypeOf(got.Node) != reflect.TypeOf(pv.value) { return false, fmt.Errorf("comparison types don't match: got %v(%T), want %v(%T)", got.Node, got.Node, pv.value, pv.value) } if !reflect.DeepEqual(got.Node, pv.value) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
golden, err := os.ReadFile(tt.golden) if err != nil { log.Fatalf("Cannot read golden rule file: %v", err) } goldenRules := getRules(golden) if len(generatedRules) == 0 { t.Error("Got empty generated rules") } if !reflect.DeepEqual(generatedRules, goldenRules) { t.Errorf("Unexpected IPtables rules generated, want \n%v \ngot \n%v", goldenRules, generatedRules) } }) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
} else if diff := cmp.Diff(got, c.want); diff != "" { tt.Errorf("got\n%v\nwant\n%vdiff %v", got, c.want, diff) } }) } t.Run("kubernetes created secret (legacy)", func(t *testing.T) { for _, c := range legacyCases { doCase(t, c, "23") } }) t.Run("istioctl created secret", func(t *testing.T) { for _, c := range cases { doCase(t, c, "") } })
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) -
istioctl/pkg/wait/wait.go
if forFlag == "delete" { return errors.New("wait for delete is not yet implemented") } else if forFlag != "distribution" { return fmt.Errorf("--for must be 'delete' or 'distribution', got: %s", forFlag) } if proxyFlag != "" && threshold != 1 { printVerbosef(cmd, "both the proxy and threshold options were provided; the threshold option is being ignored.") threshold = 1 } var w *watcher
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 17 12:24:17 GMT 2024 - 10.1K bytes - Viewed (0) -
istioctl/pkg/writer/table/writer_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Oct 08 04:41:42 GMT 2022 - 1.6K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
if tt.diffSelect != "" { diffSelect = tt.diffSelect got, err = compare.FilterManifest(got, diffSelect, "") if err != nil { t.Errorf("error selecting from output manifest: %v", err) } } tutil.RefreshGoldenFile(t, []byte(got), outPath) want, err := readFile(outPath) if err != nil { t.Fatal(err) } if got != want {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
if (c.expectedFailure && err == nil) || (!c.expectedFailure && err != nil) { t.Fatalf("expected failure: %t, got %v", c.expectedFailure, err) } if c.fileContents != "" { if c.outFilename != result { t.Fatalf("expected %s, got %s", c.outFilename, result) } } }) } } func TestGetCNIConfigFilepath(t *testing.T) { cases := []struct {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 17 02:22:22 GMT 2023 - 15.4K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
if c.expectedOutput != "" && c.expectedOutput != output { t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput) } if c.expectedString != "" && !strings.Contains(output, c.expectedString) { t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString) } if c.wantException {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 4.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0)