Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetDefaultConnSettings (0.31 sec)

  1. cmd/utils.go

    		// Tools like s3cmd uses ETag as checksum of data to validate.
    		// Append "-1" to indicate ETag is not a checksum.
    		etag += "-1"
    	}
    
    	return etag
    }
    
    // GetDefaultConnSettings returns default HTTP connection settings.
    func GetDefaultConnSettings() xhttp.ConnSettings {
    	return xhttp.ConnSettings{
    		LookupHost:  globalDNSCache.LookupHost,
    		DialTimeout: rest.DefaultTimeout,
    		RootCAs:     globalRootCAs,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		// AuthZPlugin is being set.
    		subSys = config.PolicyPluginSubSys
    		fallthrough
    	case config.PolicyPluginSubSys:
    		if ppargs, err := polplugin.LookupConfig(s, GetDefaultConnSettings(), xhttp.DrainBody); err != nil {
    			return err
    		} else if ppargs.URL == nil {
    			// Check if legacy opa is configured.
    			if _, err := opa.LookupConfig(s[config.PolicyOPASubSys][config.Default],
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  3. cmd/iam.go

    	}
    
    	setGlobalAuthNPlugin(idplugin.New(GlobalContext, authNPluginCfg))
    
    	authZPluginCfg, err := polplugin.LookupConfig(s, GetDefaultConnSettings(), xhttp.DrainBody)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to initialize AuthZPlugin: %w", err), logger.WarningKind)
    	}
    
    	if authZPluginCfg.URL == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 19:09:19 GMT 2024
    - 69.9K bytes
    - Viewed (1)
Back to top