Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for init (0.14 sec)

  1. cmd/config.go

    		return nil, err
    	}
    
    	// Add any missing entries
    	return srvCfg.Merge(), nil
    }
    
    // ConfigSys - config system.
    type ConfigSys struct{}
    
    // Init - initializes config system from config.json.
    func (sys *ConfigSys) Init(objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errInvalidArgument
    	}
    
    	return initConfig(objAPI)
    }
    
    // NewConfigSys - creates new config system object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    type AuthNResponse struct {
    	Success *AuthNSuccessResponse
    	Failure *AuthNErrorResponse
    }
    
    const (
    	minValidityDurationSeconds int = 900
    	maxValidityDurationSeconds int = 365 * 24 * 3600
    )
    
    // Authenticate authenticates the token with the external hook endpoint and
    // returns a parent user, max expiry duration for the authentication and a set
    // of claims.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  3. internal/config/identity/ldap/config.go

    			Key:   kvsrc.Key,
    			Value: kvsrc.Value,
    			IsCfg: true,
    			IsEnv: kvsrc.Src == config.ValueSourceEnv,
    		})
    	}
    
    	// sort the structs by the key
    	sort.Slice(res, func(i, j int) bool {
    		return res[i].Key < res[j].Key
    	})
    
    	return res, nil
    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)
  4. internal/config/config.go

    )
    
    // DefaultKVS - default kvs for all sub-systems
    var DefaultKVS = map[string]KVS{}
    
    // RegisterDefaultKVS - this function saves input kvsMap
    // globally, this should be called only once preferably
    // during `init()`.
    func RegisterDefaultKVS(kvsMap map[string]KVS) {
    	for subSys, kvs := range kvsMap {
    		DefaultKVS[subSys] = kvs
    	}
    }
    
    // HelpSubSysMap - help for all individual KVS for each sub-systems
    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