- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for We (0.17 sec)
-
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) -
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)