Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for insensitive (0.16 sec)

  1. docs/en/docs/advanced/settings.md

    Then, when you create an instance of that `Settings` class (in this case, in the `settings` object), Pydantic will read the environment variables in a case-insensitive way, so, an upper-case variable `APP_NAME` will still be read for the attribute `app_name`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/main.go

    		Value: defaultCertsDir.Get(),
    		Usage: "path to certs directory",
    	},
    	cli.BoolFlag{
    		Name:  "quiet",
    		Usage: "disable startup and info messages",
    	},
    	cli.BoolFlag{
    		Name:  "anonymous",
    		Usage: "hide sensitive information from logging",
    	},
    	cli.BoolFlag{
    		Name:  "json",
    		Usage: "output logs in JSON format",
    	},
    	// Deprecated flag, so its hidden now, existing deployments will keep working.
    	cli.BoolFlag{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    func EnableJSON() {
    	color.TurnOff() // no colored outputs necessary in JSON mode.
    	jsonFlag = true
    	quietFlag = true
    }
    
    // EnableAnonymous - turns anonymous flag
    // to avoid printing sensitive information.
    func EnableAnonymous() {
    	anonFlag = true
    }
    
    // IsJSON - returns true if jsonFlag is true
    func IsJSON() bool {
    	return jsonFlag
    }
    
    // IsQuiet - returns true if quietFlag is true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	// so we do not want to override them, copy them instead.
    	for k, v := range encMetadata {
    		srcInfo.UserDefined[k] = v
    	}
    
    	// Ensure that metadata does not contain sensitive information
    	crypto.RemoveSensitiveEntries(srcInfo.UserDefined)
    
    	// If we see legacy source, metadataOnly we have to overwrite the content.
    	if srcInfo.Legacy {
    		srcInfo.metadataOnly = false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		ks := []string{
    			config.EnvAccessKey,
    			config.EnvSecretKey,
    			config.EnvRootUser,
    			config.EnvRootPassword,
    		}
    		for _, v := range os.Environ() {
    			// Do not print sensitive creds in debug.
    			if slices.Contains(ks, strings.Split(v, "=")[0]) {
    				continue
    			}
    			fmt.Println(v)
    		}
    		fmt.Println("======")
    	}
    
    	daemon.SdNotify(false, daemon.SdNotifyReady)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  6. cmd/bucket-replication.go

    	meta[xhttp.AmzBucketReplicationStatus] = replication.Replica.String()
    	return meta
    }
    
    type caseInsensitiveMap map[string]string
    
    // Lookup map entry case insensitively.
    func (m caseInsensitiveMap) Lookup(key string) (string, bool) {
    	if len(m) == 0 {
    		return "", false
    	}
    	for _, k := range []string{
    		key,
    		strings.ToLower(key),
    		http.CanonicalHeaderKey(key),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top