Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for encLogIf (0.06 sec)

  1. cmd/logging.go

    	logger.LogIf(ctx, "ilm", err, errKind...)
    }
    
    func ilmLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "ilm", err, id, errKind...)
    }
    
    func encLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "encryption", err, errKind...)
    }
    
    func storageLogIf(ctx context.Context, err error, errKind ...interface{}) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 18:49:48 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    	if !ok {
    		return nil
    	}
    	data := []byte(z)
    	if v, ok := o.UserDefined[archiveTypeMetadataKey]; ok && v == archiveTypeEnc {
    		decrypted, err := o.metadataDecrypter(h)(archiveTypeEnc, data)
    		if err != nil {
    			encLogIf(GlobalContext, err)
    			return nil
    		}
    		data = decrypted
    	}
    	return data
    }
    
    // Clone - Returns a cloned copy of current objectInfo
    func (o *ObjectInfo) Clone() (cinfo ObjectInfo) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	}
    	if _, encrypted := crypto.IsEncrypted(o.UserDefined); encrypted {
    		decrypted, err := o.metadataDecrypter(h)("object-checksum", data)
    		if err != nil {
    			if !errors.Is(err, crypto.ErrSecretKeyMismatch) {
    				encLogIf(GlobalContext, err)
    			}
    			return
    		}
    		data = decrypted
    	}
    	cs := hash.ReadPartCheckSums(data)
    	if len(cs) == len(o.Parts) {
    		for i := range o.Parts {
    			o.Parts[i].Checksums = cs[i]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
Back to top