Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for halse (0.14 sec)

  1. internal/config/identity/plugin/config.go

    	req, err := http.NewRequestWithContext(ctx, http.MethodHead, u.String(), nil)
    	if err != nil {
    		authNLogIf(ctx, err)
    		return false
    	}
    
    	if o.args.AuthToken != "" {
    		req.Header.Set("Authorization", o.args.AuthToken)
    	}
    
    	resp, err := o.client.Do(req)
    	if err != nil {
    		return false
    	}
    	defer o.args.CloseRespFn(resp.Body)
    	return true
    }
    
    var (
    	healthCheckInterval = 1 * time.Minute
    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)
  2. internal/config/identity/ldap/config.go

    		return val
    	}
    
    	ldapServer := getCfgVal(ServerAddr)
    	if ldapServer == "" {
    		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 != "" {
    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)
Back to top