- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 78 for join (0.15 sec)
-
istioctl/pkg/describe/describe_test.go
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 'istioctl %s'\n got %v\nwant: %v", strings.Join(c.args, " "), output, c.expectedString) } if c.wantException { if fErr == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
) var ( extendedClient kube.CLIClient kubeClient client.Client ) // TODO: rewrite this with running the actual top level command. func TestOperatorDump(t *testing.T) { goldenFilepath := filepath.Join(env.IstioSrc, "operator/cmd/mesh/testdata/operator/output/operator-dump.yaml") odArgs := &operatorDumpArgs{ common: operatorCommonArgs{ hub: "foo.io/istio", tag: "1.2.3",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
} return "ipv4" } func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) { t.Helper() gotBytes := []byte(strings.Join(actual, "\n")) goldenFile := filepath.Join("testdata", name+".golden") if ipv6 { goldenFile = filepath.Join("testdata", name+"_ipv6.golden") } testutil.CompareContent(t, gotBytes, goldenFile) } func constructTestConfig() *Config { return &Config{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
cni/pkg/util/executil.go
return stderr.String(), err } return strings.TrimSuffix(stdout.String(), "\n"), err } func Execute(cmd string, args ...string) error { log.Debugf("Running command: %s %s", cmd, strings.Join(args, " ")) externalCommand := exec.Command(cmd, args...) stdout := &bytes.Buffer{} stderr := &bytes.Buffer{} externalCommand.Stdout = stdout externalCommand.Stderr = stderr err := externalCommand.Run()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.8K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
ym := strings.Join(manifests[k], helm.YAMLSeparator) l.LogAndPrintf("Rendering: %s", componentName) dirName := filepath.Join(outputDir, componentName) if !dryRun { if err := os.MkdirAll(dirName, os.ModePerm); err != nil { return fmt.Errorf("could not create directory %s; %s", outputDir, err) } } fname := filepath.Join(dirName, componentName) + ".yaml"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/endpoint/configdump.json") cw.Prime(cd) err := cw.PrintEndpointsSummary(tt.filter) assert.NoError(t, err) wantOutputFile := path.Join("testdata/endpoint", fmt.Sprintf("%s_output.txt", tt.name)) util.CompareContent(t, gotOut.Bytes(), wantOutputFile) }) } } func TestPrintEndpoints(t *testing.T) { tests := []struct { name string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 12 02:25:59 GMT 2022 - 2.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
} webhookConfig, err = fixWhConfig(fakeClient, webhookConfig) if err != nil { t.Fatalf("webhook fixing failed with error: %v", err) } opts := &GenerateOptions{ ManifestsPath: filepath.Join(env.IstioSrc, "manifests"), } if tc.userManaged { opts.UserManaged = true } webhookYAML, err := generateValidatingWebhook(webhookConfig, opts) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
} if isDeactivated { return "The injection webhook is deactivated, and will never match labels." } return fmt.Sprintf("No matching namespace labels (%s) "+ "or pod labels (%s)", strings.Join(nsMatchedLabels, ", "), strings.Join(podMatchedLabels, ", ")) } return noMatchingReason(whs), false } func extractMatchedSelectorInfo(ls *metav1.LabelSelector, objLabels map[string]string) (matched bool, injLabel string) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
GoldenFilename: "testdata/deployment/hello-with-proxyconfig-anno.yaml.injected", }, } kubeInject := InjectCommand(cli.NewFakeContext(nil)) for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) { testutil.VerifyOutput(t, kubeInject, c) cleanUpKubeInjectTestEnv() }) } } func cleanUpKubeInjectTestEnv() { meshConfigFile = "" injectConfigFile = ""
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
if err := cw.Prime(cd); err != nil { t.Errorf("failed to parse config dump: %s", err) } err := cw.PrintRouteSummary(RouteFilter{Verbose: true}) assert.NoError(t, err) wantOutputFile := path.Join("testdata/routes", tt.name, "output.txt") util.CompareContent(t, gotOut.Bytes(), wantOutputFile) }) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0)