Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for Danger (0.16 sec)

  1. cmd/tier-sweeper.go

    			ObjName:   os.RemoteObject,
    			VersionID: os.TransitionVersionID,
    			TierName:  os.TransitionTier,
    		}, true
    	}
    	return jentry{}, false
    }
    
    // Sweep removes the transitioned object if it's no longer referred to.
    func (os *objSweeper) Sweep() {
    	if je, ok := os.shouldRemoveRemoteObject(); ok {
    		globalExpiryState.enqueueTierJournalEntry(je)
    	}
    }
    
    type jentry struct {
    	ObjName   string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. internal/auth/credentials_test.go

    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    		{alphaNumericTable[:accessKeyMinLen+1], alphaNumericTable[:secretKeyMinLen+1], true, nil},
    		// Smaller access key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. cmd/config-current.go

    		return
    	}
    
    	if manager, ok := GlobalKMS.(kms.KeyManager); ok {
    		stat, err := GlobalKMS.Stat(GlobalContext)
    		if err != nil {
    			kmsLogIf(GlobalContext, err, "Unable to generate root credentials using KMS")
    			return
    		}
    
    		aKey, err := manager.HMAC(GlobalContext, stat.DefaultKey, []byte("root access key"))
    		if errors.Is(err, kes.ErrNotAllowed) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule.go

    )
    
    // validateID - checks if ID is valid or not.
    func (r Rule) validateID() error {
    	// cannot be longer than 255 characters
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. cmd/warm-backend-minio.go

    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    		objectSize = maxMultipartPutObjectSize
    	}
    
    	// object size is larger than supported maximum.
    	if objectSize > maxMultipartPutObjectSize {
    		err = errors.New("entity too large")
    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. cmd/tier.go

    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	for k := range config.drivercache {
    		delete(config.drivercache, k)
    	}
    	// Remove existing tier configs
    	for k := range config.Tiers {
    		delete(config.Tiers, k)
    	}
    	// Copy over the new tier configs
    	for tier, cfg := range newConfig.Tiers {
    		config.Tiers[tier] = cfg
    	}
    	config.lastRefreshedAt = UTCNow()
    	return nil
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    }
    
    // GetDecryptedRange - To decrypt the range (off, length) of the
    // decrypted object stream, we need to read the range (encOff,
    // encLength) of the encrypted object stream to decrypt it, and
    // compute skipLen, the number of bytes to skip in the beginning of
    // the encrypted range.
    //
    // In addition we also compute the object part number for where the
    // requested range starts, along with the DARE sequence number within
    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)
  8. cmd/typed-errors.go

    var errServerTimeMismatch = errors.New("Server times are too far apart")
    
    // errInvalidRange - returned when given range value is not valid.
    var errInvalidRange = errors.New("Invalid range")
    
    // errInvalidRangeSource - returned when given range value exceeds
    // the source object size.
    var errInvalidRangeSource = errors.New("Range specified exceeds source object size")
    
    // error returned by disks which are to be initialized are waiting for the
    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)
  9. cmd/streaming-signature-v4.go

    // A chunk has the following format:
    //
    //	<chunk-size-as-hex> + ";chunk-signature=" + <signature-as-hex> + "\r\n" + <payload> + "\r\n"
    //
    // First, we read the chunk size but fail if it is larger
    // than 16 MiB. We must not accept arbitrary large chunks.
    // One 16 MiB is a reasonable max limit.
    //
    // Then we read the signature and payload data. We compute the SHA256 checksum
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	if err != nil {
    		for i := range errs {
    			errs[i] = toStorageErr(err)
    		}
    		return errs
    	}
    
    	dErrResp := &DeleteVersionsErrsResp{}
    	if err = gob.NewDecoder(reader).Decode(dErrResp); err != nil {
    		for i := range errs {
    			errs[i] = toStorageErr(err)
    		}
    		return errs
    	}
    
    	for i, dErr := range dErrResp.Errs {
    		errs[i] = toStorageErr(dErr)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top