- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for setTags (0.71 sec)
-
istioctl/pkg/tag/tag_test.go
t.Run(tc.name, func(t *testing.T) { var out bytes.Buffer client := kube.NewFakeClient(tc.webhooksBefore.DeepCopyObject(), tc.namespaces.DeepCopyObject()) skipConfirmation = true err := setTag(context.Background(), client, tc.tag, tc.revision, "istio-system", false, &out, nil) if tc.error == "" && err != nil { t.Fatalf("expected no error, got %v", err) } if tc.error != "" { if err == nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
operator/cmd/mesh/root.go
Short: "Command line Istio install utility.", SilenceUsage: true, Long: "This command uses the Istio operator code to generate templates, query configurations and perform " + "utility operations.", } rootCmd.SetArgs(args) rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine) rootCmd.AddCommand(ManifestCmd(ctx)) rootCmd.AddCommand(InstallCmd(ctx)) rootCmd.AddCommand(ProfileCmd(ctx)) rootCmd.AddCommand(OperatorCmd(ctx))
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
} verifyExecTestOutput(t, DebugCommand(ctx), c) }) } } func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) { t.Helper() var out bytes.Buffer cmd.SetArgs(c.args) cmd.SilenceUsage = true cmd.SetOut(&out) cmd.SetErr(&out) fErr := cmd.Execute() output := out.String() if c.expectedOutput != "" && c.expectedOutput != output {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) { if c.wantException { // Ensure tests do not hang for 30s c.args = append(c.args, "--timeout=20ms") } var out bytes.Buffer cmd.SetArgs(c.args) cmd.SilenceUsage = true cmd.SetOut(&out) cmd.SetErr(&out) fErr := cmd.Execute() output := out.String() if c.expectedOutput != "" && !strings.Contains(output, c.expectedOutput) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (0) -
istioctl/cmd/root.go
DisableAutoGenTag: true, PersistentPreRunE: ConfigureLogging, Long: `Istio configuration command line utility for service operators to debug and diagnose their Istio mesh. `, } rootCmd.SetArgs(args) flags := rootCmd.PersistentFlags() rootOptions := cli.AddRootFlags(flags) ctx := cli.NewCLIContext(rootOptions) _ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func(
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
var mwh []v1.MutatingWebhook if err := json.Unmarshal(by, &mwh); err != nil { t.Fatal(err) } return mwh } func getWebhooks(t *testing.T, setFlags string, webhookName string) []v1.MutatingWebhook { t.Helper() got, err := runManifestGenerate([]string{}, setFlags, liveCharts, []string{"templates/mutatingwebhook.yaml"}) if err != nil { t.Fatal(err) } objs, err := object.ParseK8sObjectsFromYAMLManifest(got)
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0) -
istioctl/cmd/root_test.go
} _ = parent.PersistentFlags().String(childFlag2, "", childFlag2) parent.AddCommand(child) // verify both parent flags and the child flag are visible by default parent.SetArgs([]string{"child", "--help"}) if err := parent.Execute(); err != nil { t.Fatal(err) } got := out.String() out.Reset() checkHelpForFlag(t, got, parentFlag0, true) checkHelpForFlag(t, got, parentFlag1, true)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 15 17:59:55 GMT 2021 - 2.4K bytes - Viewed (0) -
operator/cmd/mesh/install.go
warnMarker, operatorVer.OperatorCodeBaseVersion) } setFlags := applyFlagAliases(iArgs.Set, iArgs.ManifestsPath, iArgs.Revision) _, iop, err := manifest.GenerateConfig(iArgs.InFilenames, setFlags, iArgs.Force, kubeClient, l) if err != nil { return fmt.Errorf("generate config: %v", err) }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 15.2K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
} if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil { return err } setFlags := applyFlagAliases(make([]string, 0), pdArgs.manifestsPath, "") if len(args) == 1 { setFlags = append(setFlags, "profile="+args[0]) } y, _, err := manifest.GenerateConfig(pdArgs.inFilenames, setFlags, true, nil, l) if err != nil { return err } y, err = tpath.GetConfigSubtree(y, "spec")
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
(destination_service) or sum(istio_tcp_sent_bytes_total{}) by (destination_service))", "refresh": 1, "regex": "/.*destination_service=\"([^\"]* "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": true, "text": "destination", "value": "destination" }, "datasource": "Prometheus", "definition": "", "hide": 0, "includeAll": false, "label": "Reporter", "multi": true, "name": "qrep", "query":...
Others - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 198.1K bytes - Viewed (1)