Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for flag (0.12 sec)

  1. internal/config/identity/ldap/config.go

    		return l, nil
    	}
    	l.LDAP = ldap.Config{
    		RootCAs:       rootCAs,
    		ServerAddr:    ldapServer,
    		SRVRecordName: getCfgVal(SRVRecordName),
    	}
    
    	// Parse explicitly set enable=on/off flag.
    	isEnableFlagExplicitlySet := false
    	if v := getCfgVal(config.Enable); v != "" {
    		isEnableFlagExplicitlySet = true
    		l.LDAP.Enabled, err = config.ParseBool(v)
    		if err != nil {
    			return l, err
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  2. internal/config/config.go

    // variables for which support needs to be added.
    //
    // When redactSecrets is true, the returned value is empty if the configuration
    // parameter is a secret, and the returned isRedacted flag is set.
    func (c Config) ResolveConfigParam(subSys, target, cfgParam string, redactSecrets bool,
    ) (value string, cs ValueSource, isRedacted bool) {
    	// cs = ValueSourceAbsent initially as it is iota by default.
    
    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