Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for encLogIf (0.26 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{}) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	if len(data) == 0 {
    		return
    	}
    	if _, encrypted := crypto.IsEncrypted(o.UserDefined); encrypted {
    		decrypted, err := o.metadataDecrypter()("object-checksum", data)
    		if err != nil {
    			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]
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  3. 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()(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) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
Back to top