- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Blog (0.16 sec)
-
istioctl/pkg/root/root.go
LoggingOptions = defaultLogOptions() // scope is for dev logging. Warning: log levels are not set by --log_output_level until command is Run(). Scope = log.RegisterScope("cli", "istioctl") ) func defaultLogOptions() *log.Options { o := log.DefaultOptions() // Default to warning for everything; we usually don't want logs in istioctl o.SetDefaultOutputLevel("all", log.WarnLevel) // These scopes are too noisy even at warning level
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Mar 26 20:38:10 GMT 2024 - 1.5K bytes - Viewed (0) -
cni/pkg/cmd/root.go
log.Errorf("Failed to configure log %v", err) } return nil }, RunE: func(c *cobra.Command, args []string) (err error) { cmd.PrintFlags(c.Flags()) ctx := c.Context() // Start controlz server _, _ = ctrlz.Run(ctrlzOptions, nil) var cfg *config.Config if cfg, err = constructConfig(); err != nil { return } log.Infof("CNI install configuration: \n%+v", cfg.InstallConfig)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
istioctl/cmd/root.go
}) // Attach the Istio logging options to the command. root.LoggingOptions.AttachCobraFlags(rootCmd) hiddenFlags := []string{ "log_as_json", "log_rotate", "log_rotate_max_age", "log_rotate_max_backups", "log_rotate_max_size", "log_stacktrace_level", "log_target", "log_caller", "log_output_level", } for _, opt := range hiddenFlags { _ = rootCmd.PersistentFlags().MarkHidden(opt) } cmd.AddFlags(rootCmd)
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/root.go
DryRun bool } func addFlags(cmd *cobra.Command, rootArgs *RootArgs) { cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "", false, "Console/log output only, make no changes.") } // GetRootCmd returns the root of the cobra command-tree. func GetRootCmd(ctx cli.Context, args []string) *cobra.Command { rootCmd := &cobra.Command{ Use: "mesh",
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)