Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for loading (0.14 sec)

  1. internal/config/identity/openid/openid.go

    		)
    
    		var enabled bool
    		if isExplicitlyEnabled {
    			enabled, err = config.ParseBool(cfgEnableVal)
    			if err != nil {
    				return c, err
    			}
    			// No need to continue loading if the config is not enabled.
    			if !enabled {
    				continue
    			}
    		}
    
    		p := newProviderCfgFromConfig(getCfgVal)
    		configURL := getCfgVal(ConfigURL)
    
    		if !isExplicitlyEnabled {
    			enabled = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  2. cmd/update.go

    		if err = v.LoadFromURL(u.String(), minisignPubkey, transport); err != nil {
    			return AdminError{
    				Code:       AdminUpdateApplyFailure,
    				Message:    fmt.Sprintf("signature loading failed for %v with %v", u, err),
    				StatusCode: http.StatusInternalServerError,
    			}
    		}
    		opts.Verifier = v
    	}
    
    	if err = selfupdate.PrepareAndCheckBinary(reader, opts); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. cmd/iam.go

    	if authn := newGlobalAuthNPluginFn(); authn != nil {
    		riMap := authn.GetRoleInfo()
    		sys.validateAndAddRolePolicyMappings(ctx, riMap)
    	}
    
    	sys.printIAMRoles()
    
    	bootstrapTraceMsg("finishing IAM loading")
    }
    
    func (sys *IAMSys) periodicRoutines(ctx context.Context, baseInterval time.Duration) {
    	// Watch for IAM config changes for iamStorageWatcher.
    	watcher, isWatcher := sys.store.IAMStorageAPI.(iamStorageWatcher)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/erasure-server-pool.go

    			return nil, fmt.Errorf("parity validation returned an error: %w <- (%d, %d), for pool(%s)", err, commonParityDrives, ep.DrivesPerSet, humanize.Ordinal(i+1))
    		}
    
    		bootstrapTrace("waitForFormatErasure: loading disks", func() {
    			storageDisks[i], formats[i], err = waitForFormatErasure(local, ep.Endpoints, i+1,
    				ep.SetCount, ep.DrivesPerSet, deploymentID)
    		})
    		if err != nil {
    			return nil, err
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    			bootstrapTraceMsg("loading regular users")
    			if err := store.loadUsers(ctx, regUser, newCache.iamUsersMap); err != nil {
    				return err
    			}
    			bootstrapTraceMsg("loading regular groups")
    			if err := store.loadGroups(ctx, newCache.iamGroupsMap); err != nil {
    				return err
    			}
    		}
    
    		bootstrapTraceMsg("loading user policy mapping")
    		// load polices mapped to users
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/config.go

    func initConfig(objAPI ObjectLayer) (err error) {
    	bootstrapTraceMsg("load the configuration")
    	defer func() {
    		if err != nil {
    			bootstrapTraceMsg(fmt.Sprintf("loading configuration failed: %v", err))
    		}
    	}()
    
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	srvCfg, err := readConfigWithoutMigrate(GlobalContext, objAPI)
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser_test.go

    		"substring('abcd' from 2)",
    		"substring('abcd' , 2 , 2)",
    
    		"substring('abcd' , 22 )",
    		"trim('  aab  ')",
    		"trim(leading from '  aab  ')",
    		"trim(trailing from '  aab  ')",
    		"trim(both from '  aab  ')",
    
    		"trim(both '12' from '  aab  ')",
    		"trim(leading '12' from '  aab  ')",
    		"trim(trailing '12' from '  aab  ')",
    		"count(23)",
    	}
    	for i, tc := range validCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  8. internal/s3select/sql/stringfuncs.go

    		}
    
    		if length > (endIdx - startIdx) {
    			length = endIdx - startIdx
    		}
    
    		endIdx = startIdx + length
    	}
    
    	return string(rs[startIdx:endIdx]), nil
    }
    
    const (
    	trimLeading  = "LEADING"
    	trimTrailing = "TRAILING"
    	trimBoth     = "BOTH"
    )
    
    func evalSQLTrim(where *string, trimChars, text string) (result string, err error) {
    	cutSet := " "
    	if trimChars != "" {
    		cutSet = trimChars
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  9. internal/logger/targets.go

    	// systemTargets is the set of enabled loggers.
    	// Must be immutable at all times.
    	// Can be swapped to another while holding swapMu
    	systemTargets  = []Target{}
    	swapSystemMuRW sync.RWMutex
    
    	// auditTargets is the list of enabled audit loggers
    	// Must be immutable at all times.
    	// Can be swapped to another while holding swapMu
    	auditTargets  = []Target{}
    	swapAuditMuRW sync.RWMutex
    
    	// This is always set represent /dev/console target
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils.go

    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    		default:
    			return nil, ErrUnsignedHeaders
    		}
    	}
    	return extractedSignedHeaders, ErrNone
    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top