Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Environment (0.19 sec)

  1. internal/logger/config.go

    			if target == legacyEnvLoggerHTTPEndpoint {
    				target = config.Default
    			}
    			loggerTargets = append(loggerTargets, target)
    		}
    
    		// Load HTTP logger from the environment if found
    		for _, target := range loggerTargets {
    			endpoint := getCfgVal(legacyEnvLoggerHTTPEndpoint, target, "")
    			if endpoint == "" {
    				continue
    			}
    			url, err := xnet.ParseHTTPURL(endpoint)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. istioctl/pkg/config/config.go

    		v := settableFlags[flag]
    		fmt.Fprintf(w, "%s\t%s\t%v\n", flag, viper.GetString(flag), configSource(flag, v))
    	}
    	return w.Flush()
    }
    
    func configSource(flag string, v env.VariableInfo) string {
    	// Environment variables have high precedence in Viper
    	if v.IsSet() {
    		return "$" + v.GetName()
    	}
    
    	if viper.InConfig(flag) {
    		return root.IstioConfig
    	}
    
    	return "default"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. internal/config/identity/tls/config.go

    	"github.com/minio/pkg/v2/env"
    )
    
    const (
    	// EnvIdentityTLSEnabled is an environment variable that controls whether the X.509
    	// TLS STS API is enabled. By default, if not set, it is enabled.
    	EnvIdentityTLSEnabled = "MINIO_IDENTITY_TLS_ENABLE"
    
    	// EnvIdentityTLSSkipVerify is an environment variable that controls whether
    	// MinIO verifies the client certificate present by the client
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  4. internal/config/subnet/config.go

    func (c *Config) Registered() bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return len(c.APIKey) > 0
    }
    
    // ApplyEnv - applies the current subnet config to Console UI specific environment variables.
    func (c *Config) ApplyEnv() {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if c.License != "" {
    		os.Setenv("CONSOLE_SUBNET_LICENSE", c.License)
    	}
    	if c.APIKey != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. internal/config/config.go

    func (kvs KVS) String() string {
    	var s strings.Builder
    	for _, kv := range kvs {
    		s.WriteString(kv.String())
    		s.WriteString(KvSpaceSeparator)
    	}
    	return s.String()
    }
    
    // Merge environment values with on disk KVS, environment values overrides
    // anything on the disk.
    func Merge(cfgKVS map[string]KVS, envname string, defaultKVS KVS) map[string]KVS {
    	newCfgKVS := make(map[string]KVS)
    	for _, e := range env.List(envname) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top