Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 142 for Lannon (0.14 sec)

  1. cmd/encryption-v1.go

    // but has an invalid size.
    func (o ObjectInfo) DecryptedSize() (int64, error) {
    	if _, ok := crypto.IsEncrypted(o.UserDefined); !ok {
    		return 0, errors.New("Cannot compute decrypted size of an unencrypted object")
    	}
    	if !o.isMultipart() {
    		size, err := sio.DecryptedSize(uint64(o.Size))
    		if err != nil {
    			err = errObjectTampered // assign correct error type
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    		}
    		if len(formatErasure.Erasure.Sets[0]) != setDriveCount {
    			return fmt.Errorf("%s drive is already formatted with %d drives per erasure set. This cannot be changed to %d", disks[i], len(formatErasure.Erasure.Sets[0]), setDriveCount)
    		}
    	}
    	return nil
    }
    
    // Get backend Erasure format in quorum `format.json`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    	if r.Type == SelectRestoreRequest && r.OutputLocation.IsEmpty() {
    		return fmt.Errorf("OutputLocation required for SELECT requests")
    	}
    
    	if r.Days != 0 && r.Type == SelectRestoreRequest {
    		return fmt.Errorf("Days cannot be specified with SELECT restore request")
    	}
    	if r.Days == 0 && r.Type != SelectRestoreRequest {
    		return fmt.Errorf("restoration days should be at least 1")
    	}
    	// Check if bucket exists.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    				globalNotificationSys.ReloadPoolMeta(ctx)
    			}
    			z.poolMetaMutex.Unlock()
    		}
    
    		wk.Take()
    		go func(setIdx int) {
    			defer wk.Give()
    			// We will perpetually retry listing if it fails, since we cannot
    			// possibly give up in this matter
    			for {
    				if contextCanceled(ctx) {
    					break
    				}
    
    				err := set.listObjectsToDecommission(ctx, bi,
    					func(entry metaCacheEntry) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  5. cmd/xl-storage.go

    	if err = mkdirAll(pathutil.Dir(filePath), 0o777, skipParent); err != nil {
    		return nil, osErrToFileErr(err)
    	}
    
    	w, err := OpenFile(filePath, mode, 0o666)
    	if err != nil {
    		// File path cannot be verified since one of the parents is a file.
    		switch {
    		case isSysErrIsDir(err):
    			return nil, errIsNotRegular
    		case osIsPermission(err):
    			return nil, errFileAccessDenied
    		case isSysErrNotDir(err):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/bucket-versioning-handler.go

    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    	if rc, _ := getReplicationConfig(ctx, bucket); rc != nil && v.Suspended() {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    			Description:    "A replication configuration is present on this bucket, bucket wide versioning cannot be suspended.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    				foundPrefixes = append(foundPrefixes, result.Prefixes...)
    				if !result.IsTruncated {
    					break
    				}
    				marker = result.NextMarker
    				if len(result.Objects) > 0 {
    					// Discard marker, so it cannot resume listing.
    					marker = result.Objects[len(result.Objects)-1].Name
    				}
    			}
    
    			if len(testCase.result.Objects) != len(foundObjects) {
    				t.Logf("want: %v", objInfoNames(testCase.result.Objects))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. internal/config/compress/compress.go

    	for _, e := range includes {
    		if len(e) == 0 {
    			return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be empty")
    		}
    		if e == "/" {
    			return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be '/'")
    		}
    	}
    	return includes, nil
    }
    
    // LookupConfig - lookup compression config.
    func LookupConfig(kvs config.KVS) (Config, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  9. cmd/os-reliable.go

    		return errInvalidArgument
    	}
    
    	if err = checkPathLength(dirPath); err != nil {
    		return err
    	}
    
    	if err = reliableRemoveAll(dirPath); err != nil {
    		switch {
    		case isSysErrNotDir(err):
    			// File path cannot be verified since one of
    			// the parents is a file.
    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    			// This is a special case should be handled only for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. cmd/typed-errors.go

    // error returned in IAM subsystem when a non-empty group needs to be
    // deleted.
    var errGroupNotEmpty = errors.New("Specified group is not empty - cannot remove it")
    
    // error returned in IAM subsystem when a group is disabled
    var errGroupDisabled = errors.New("Specified group is disabled")
    
    // error returned in IAM subsystem when policy doesn't exist.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top