Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Wong (0.17 sec)

  1. cmd/storage-rest-server.go

    }
    
    func (c *closeNotifier) Close() error {
    	if c.done != nil {
    		xioutil.SafeClose(c.done)
    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/object-api-errors.go

    	return "Bucket name invalid: " + e.Bucket
    }
    
    // Object related errors.
    
    // ObjectNameInvalid - object name provided is invalid.
    type ObjectNameInvalid GenericError
    
    // ObjectNameTooLong - object name too long.
    type ObjectNameTooLong GenericError
    
    // ObjectNamePrefixAsSlash - object name has a slash as prefix.
    type ObjectNamePrefixAsSlash GenericError
    
    // Error returns string an error formatted as the given text.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedPresignedDate: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Date must be in the ISO8601 Long Format \"yyyyMMdd'T'HHmmss'Z'\"",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedCredentialDate: {
    		Code:           "AuthorizationQueryParametersError",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  5. cmd/xl-storage-disk-id-check.go

    // If the pointer sent to done is non-nil AND the error
    // is either nil or io.EOF the disk is considered good.
    // So if unsure if the disk status is ok, return nil as a parameter to done.
    // Shadowing will work as long as return error is named: https://go.dev/play/p/sauq86SsTN2
    func (p *xlStorageDiskIDCheck) TrackDiskHealth(ctx context.Context, s storageMetric, paths ...string) (c context.Context, done func(*error), err error) {
    	done = noopDoneFunc
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/admin-handlers.go

    			hr := healResp{respBytes, apiErr, errMsg}
    			respCh <- hr
    		}()
    	}
    
    	// Due to the force-starting functionality, the Launch
    	// call above can take a long time - to keep the
    	// connection alive, we start sending whitespace
    	keepConnLive(w, r, respCh)
    }
    
    // getAggregatedBackgroundHealState returns the heal state of disks.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  8. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    func reduceErrs(errs []error, ignoredErrs []error) (maxCount int, maxErr error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top