Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ListObjects (0.16 sec)

  1. cmd/object-api-listobjects_test.go

    				t.Fatalf("Expected, marker %t : got %t", object.addDeleteMarker, oi.DeleteMarker)
    			}
    		}
    	}
    
    	// Formulating the result data set to be expected from ListObjects call inside the tests,
    	// This will be used in testCases and used for asserting the correctness of ListObjects output in the tests.
    
    	resultCases := []ListObjectsInfo{
    		{
    			IsTruncated: false,
    			Prefixes:    []string{"unique/folder/"},
    		},
    		{
    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)
  2. cmd/erasure-server-pool.go

    		// Optimization for certain applications like
    		// - Cohesity
    		// - Actifio, Splunk etc.
    		// which send ListObjects requests where the actual object
    		// itself is the prefix and max-keys=1 in such scenarios
    		// we can simply verify locally if such an object exists
    		// to avoid the need for ListObjects().
    		objInfo, err := z.GetObjectInfo(ctx, bucket, prefix, ObjectOptions{NoLock: true})
    		if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	// Create svc acc
    	cr := c.mustCreateSvcAccount(ctx, value.AccessKeyID, userAdmClient)
    
    	svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    
    	// 1. Check S3 access for service account ListObjects()
    	c.mustListObjects(ctx, svcClient, bucket)
    
    	// 2. Check S3 access for upload
    	c.mustUpload(ctx, svcClient, bucket)
    
    	// 3. Check S3 access for download
    	c.mustDownload(ctx, svcClient, bucket)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3
    		minioSrc := r.Source.Type == BatchJobReplicateResourceMinIO
    		ctx, cancel := context.WithCancel(ctx)
    		objInfoCh := c.ListObjects(ctx, r.Source.Bucket, miniogo.ListObjectsOptions{
    			Prefix:       r.Source.Prefix,
    			WithVersions: minioSrc,
    			Recursive:    true,
    			WithMetadata: true,
    		})
    		prevObj := ""
    		skipReplicate := false
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		// in PR #14555 where !VersionPurgeStatus.Empty() is automatically
    		// considered as Delete marker true to avoid listing such objects by
    		// regular ListObjects() calls. However for delete replication this
    		// ends up being a problem because "upon" a successful delete this
    		// ends up creating a new delete marker that is spurious and unnecessary.
    		//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/xl-storage.go

    		if err != nil {
    			return err
    		}
    		// First writes for special situations do not write to stable storage.
    		// this is currently used by
    		// - emphemeral objects such as objects created during listObjects() calls
    		// - newMultipartUpload() call..
    		return s.writeAll(ctx, volume, pathJoin(path, xlStorageFormatFile), buf, false, "")
    	}
    
    	buf, err := s.ReadAll(ctx, volume, pathJoin(path, xlStorageFormatFile))
    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)
Back to top