Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetResolvedConfigParams (0.12 sec)

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

    	// For now only a single LDAP config is supported.
    	if cfgName != madmin.Default {
    		return nil, ErrProviderConfigNotFound
    	}
    	kvsrcs, err := s.GetResolvedConfigParams(config.IdentityLDAPSubSys, cfgName, true)
    	if err != nil {
    		return nil, err
    	}
    
    	res := make([]madmin.IDPCfgInfo, 0, len(kvsrcs))
    	for _, kvsrc := range kvsrcs {
    		// skip default values.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    	for _, cfg := range openIDConfigs {
    		if cfg == cfgName {
    			present = true
    			break
    		}
    	}
    
    	if !present {
    		return nil, ErrProviderConfigNotFound
    	}
    
    	kvsrcs, err := s.GetResolvedConfigParams(config.IdentityOpenIDSubSys, cfgName, true)
    	if err != nil {
    		return nil, err
    	}
    
    	res := make([]madmin.IDPCfgInfo, 0, len(kvsrcs)+1)
    	for _, kvsrc := range kvsrcs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. internal/config/config.go

    // source of the value.
    type KVSrc struct {
    	Key   string
    	Value string
    	Src   ValueSource
    }
    
    // GetResolvedConfigParams returns all applicable config parameters with their
    // value sources.
    func (c Config) GetResolvedConfigParams(subSys, target string, redactSecrets bool) ([]KVSrc, error) {
    	if !resolvableSubsystems.Contains(subSys) {
    		return nil, Errorf("unsupported subsystem: %s", subSys)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top