- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PersistentPreRunE (0.12 sec)
-
istioctl/pkg/kubeinject/kubeinject.go
} return retval }, PersistentPreRunE: func(c *cobra.Command, args []string) error { // istioctl kube-inject is typically redirected to a .yaml file; // the default for log messages should be stderr, not stdout root := c.Root() if root != nil { _ = c.Root().PersistentFlags().Set("log_target", "stderr") } if c.Parent() != nil && c.Parent().PersistentPreRunE != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
istioctl/cmd/root.go
func GetRootCmd(args []string) *cobra.Command { rootCmd := &cobra.Command{ Use: "istioctl", Short: "Istio control interface.", SilenceUsage: true, 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()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0)