- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for PersistentFlags (0.18 sec)
-
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
func (c *commonFlags) attach(cmd *cobra.Command) { cmd.PersistentFlags().IntVar(&c.proxyAdminPort, "proxy-admin-port", defaultProxyAdminPort, "Ztunnel proxy admin port") cmd.PersistentFlags().StringVarP(&c.outputFormat, "output", "o", summaryOutput, "Output format: one of json|yaml|short") cmd.PersistentFlags().StringVar(&c.node, "node", "", "Filter workloads by node field") cmd.PersistentFlags().StringVarP(&c.configDumpFile, "file", "f", "",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/admin/admin.go
return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, } istiodLog := istiodLogCmd(ctx) adminCmd.AddCommand(istiodLog) adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector") return adminCmd
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.4K bytes - Viewed (0) -
istioctl/pkg/clioptions/control_plane.go
Revision string } // AttachControlPlaneFlags attaches control-plane flags to a Cobra command. // (Currently just --revision) func (o *ControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVarP(&o.Revision, "revision", "r", "", "Control plane revision")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 01 05:47:27 UTC 2021 - 1.1K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
} } return nil }, } cmd.PersistentFlags().BoolVar(&skipControlPlane, "skip-controlplane", false, "skip checking the control plane") cmd.PersistentFlags().Var(&outputThreshold, "output-threshold", fmt.Sprintf("The severity level of precheck at which to display messages. Valid values: %v", diag.GetAllLevelStrings())) cmd.PersistentFlags().StringVarP(&msgOutputFormat, "output", "o", formatting.LogFormat,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/cmd/options.go
} retval.SetHelpFunc(func(c *cobra.Command, args []string) { c.Printf("The following options can be passed to any command:\n") // (Currently the only global options we show are help options) rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) { if _, ok := helpFlags[flag.Name]; ok { // Currently every flag.Shorthand is "", so there is no point in showing shorthands shorthand := " " if flag.Shorthand != "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.8K bytes - Viewed (0) -
istioctl/cmd/root.go
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( cmd *cobra.Command, args []string, toComplete string,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
return sw.PrintAll(xdsResponses) }, } opts.AttachControlPlaneFlags(debugCommand) centralOpts.AttachControlPlaneFlags(debugCommand) debugCommand.Long += "\n\n" + util.ExperimentalMsg debugCommand.PersistentFlags().BoolVar(&internalDebugAllIstiod, "all", false, "Send the same request to all instances of Istiod. Only applicable for in-cluster deployment.") return debugCommand } var internalDebugAllIstiod bool
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
checkResults := analyzeRunningWebhooks(whs.Items, podLabels, nsLabels) return printCheckInjectorResults(cmd.OutOrStdout(), checkResults) }, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), } cmd.PersistentFlags().StringVarP(&labelPairs, "labels", "l", "", "Check namespace and label pairs injection status, split multiple labels by commas") return cmd }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
analyzer, err := NewAnalyzer(configDump) if err != nil { return err } analyzer.Print(cmd.OutOrStdout()) return nil }, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), } cmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "", "The json file with Envoy config dump to be checked") return cmd } func getConfigDumpFromFile(filename string) (*configdump.Wrapper, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
}, RunE: func(cmd *cobra.Command, args []string) error { return run(cmd, ctx, args) }, DisableFlagsInUseLine: true, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), } cmd.PersistentFlags().DurationVarP(&metricsDuration, "duration", "d", time.Minute, "Duration of query metrics, default value is 1m.") return cmd } type workloadMetrics struct { workload string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0)