Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for we (0.13 sec)

  1. istioctl/pkg/root/root.go

    	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
    	o.SetDefaultOutputLevel("validation", log.ErrorLevel)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. istioctl/cmd/root.go

    	}
    
    	// Allow users to override some variables through $HOME/.istioctl/config.yaml
    	// and environment variables.
    	viper.SetEnvPrefix("ISTIOCTL")
    	viper.AutomaticEnv()
    	viper.AllowEmptyEnv(true) // So we can say ISTIOCTL_CERT_DIR="" to suppress certs
    	viper.SetConfigName(configName)
    	viper.SetConfigType(configType)
    	viper.AddConfigPath(configPath)
    	viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    }
    
    func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    	// This is just to make sure the reference doc tool can generate doc with these vars as env variable at istio.io.
    	env.Register(envName, defaultValue, usage)
    	bindViper(name)
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top