Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetObjectNInfo (0.09 sec)

  1. cmd/batch-handlers.go

    		Compress: *r.Source.Snowball.Compress,
    		SkipErrs: *r.Source.Snowball.SkipErrs,
    	}
    
    	go func() {
    		defer xioutil.SafeClose(input)
    
    		for _, entry := range entries {
    			gr, err := objAPI.GetObjectNInfo(ctx, r.Source.Bucket,
    				entry.Name, nil, nil, ObjectOptions{
    					VersionID: entry.VersionID,
    				})
    			if err != nil {
    				batchLogIf(ctx, err)
    				continue
    			}
    
    			if prefix != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    			}
    			_, err = obj.HealObject(ctx, bucket, object, "", madmin.HealOpts{
    				ScanMode: madmin.HealNormalScan,
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			firstGr, err := obj.GetObjectNInfo(ctx, bucket, object, nil, nil, ObjectOptions{NoLock: true})
    			if err != nil {
    				t.Fatal(err)
    			}
    			defer firstGr.Close()
    
    			firstHealedH := sha256.New()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		return toObjectErr(err, bucket)
    	}
    
    	globalBucketMetadataSys.Set(bucket, meta)
    
    	// Success.
    	return nil
    }
    
    func (z *erasureServerPools) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) {
    	if err = checkGetObjArgs(ctx, bucket, object); err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	}
    
    	return fi.ToObjectInfo(srcBucket, srcObject, srcOpts.Versioned || srcOpts.VersionSuspended), nil
    }
    
    // GetObjectNInfo - returns object info and an object
    // Read(Closer). When err != nil, the returned reader is always nil.
    func (er erasureObjects) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) {
    	if !opts.NoAuditLog {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top