Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for rong (0.13 sec)

  1. cmd/api-errors.go

    	}
    	if globalSite.Region != "" {
    		if errCode == ErrAuthorizationHeaderMalformed {
    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/iam.go

    			if nerr.Err != nil {
    				logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    	return updatedAt, nil
    }
    
    // DeleteUser - delete user (only for long-term users not STS users).
    func (sys *IAMSys) DeleteUser(ctx context.Context, accessKey string, notifyPeers bool) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    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)
  3. cmd/iam-store.go

    	if err != nil && !errors.Is(err, errNoSuchPolicy) {
    		return err
    	}
    
    	return nil
    }
    
    // DeleteUser - deletes a user from storage and cache. This only used with
    // long-term users and service accounts, not STS.
    func (store *IAMStoreSys) DeleteUser(ctx context.Context, accessKey string, userType IAMUserType) error {
    	if accessKey == "" {
    		return errInvalidArgument
    	}
    
    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)
  4. internal/s3select/select_test.go

    			query:      `SELECT * from s3object s WHERE s.nested[1][0] = 7`,
    			wantResult: `{"id":3,"title":"Second Record","desc":"another text","nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "wrong-index-no-result",
    			query:      `SELECT * from s3object s WHERE s.nested[0][0] = 7`,
    			wantResult: ``,
    		},
    		{
    			name:  "not-equal-result",
    			query: `SELECT * from s3object s WHERE s.nested[1][0] != 7`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    		// One path segment length is > 255 chars long.
    		{"path/to/my/object0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", errFileNameTooLong},
    		// path length is > 1024 chars long.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    		return
    	}
    
    	// The max. XML contains 100000 object names (each at most 1024 bytes long) + XML overhead
    	const maxBodySize = 2 * 100000 * 1024
    
    	if r.ContentLength > maxBodySize {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	if err != nil {
    		if err == errNoSuchUser || err == errNoSuchGroup {
    			if globalIAMSys.LDAPConfig.Enabled() {
    				// When LDAP is enabled, warn user that they are using the wrong
    				// API. FIXME: error can be no such group as well - fix errNoSuchUserLDAPWarn
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errNoSuchUserLDAPWarn), r.URL)
    				return
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top