Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for listObjects (0.21 sec)

  1. cmd/bucket-listobjects-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	listObjects := objectAPI.ListObjects
    
    	// Initiate a list objects operation based on the input params.
    	// On success would return back ListObjectsInfo object to be
    	// marshaled into S3 compatible XML header.
    	listObjectsInfo, err := listObjects(ctx, bucket, prefix, marker, delimiter, maxKeys)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. cmd/object_api_suite_test.go

    	ExecObjectLayerTest(t, testPaging)
    }
    
    // Tests validate creation of objects and the order of listing using various filters for ListObjects operation.
    func testPaging(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{})
    	result, err := obj.ListObjects(context.Background(), "bucket", "", "", "", 0)
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    				isDir: true,
    			}
    			if err := callback(&info); err != nil {
    				return err
    			}
    		}
    
    		return nil
    	}
    
    	prefix = retainSlash(prefix)
    
    	for object := range clnt.ListObjects(cctx, bucket, minio.ListObjectsOptions{
    		Prefix:    prefix,
    		Recursive: false,
    	}) {
    		if object.Err != nil {
    			return object.Err
    		}
    
    		if object.Key == prefix {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    	versioned := o.Versioning != nil && o.Versioning.Versioned(obj.name)
    
    	// skip latest object from listing only for regular
    	// listObjects calls, versioned based listing cannot
    	// filter out between versions 'obj' cannot be truncated
    	// in such a manner, so look for skipping an object only
    	// for regular ListObjects() call only.
    	if !o.Versioned && !o.V1 {
    		fi, err := obj.fileInfo(o.Bucket)
    		if err != nil {
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    		go func() {
    			defer xioutil.SafeClose(objectsCh)
    			opts := minio.ListObjectsOptions{
    				Prefix:    prefix,
    				Recursive: true,
    			}
    			for object := range clnt.ListObjects(cctx, bucket, opts) {
    				if object.Err != nil {
    					return
    				}
    				objectsCh <- object
    			}
    		}()
    
    		// Call RemoveObjects API
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	// Marks the last version of the Key returned in a truncated response.
    	VersionIDMarker string `xml:"VersionIdMarker"`
    
    	MaxKeys   int
    	Delimiter string `xml:"Delimiter,omitempty"`
    	// A flag that indicates whether or not ListObjects returned all of the results
    	// that satisfied the search criteria.
    	IsTruncated bool
    
    	CommonPrefixes []CommonPrefix
    	Versions       []ObjectVersion
    
    	// Encoding type used to encode object keys in the response.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                            .includeUserMetadata(false).useApiVersion1(false).build();
                    for (final Result<Item> result : minioClient.listObjects(args)) {
                        final Item item = result.get();
                        final String objectName = item.objectName();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                        .useApiVersion1(false).build();
                for (final Result<Item> result : minioClient.listObjects(args)) {
                    final Map<String, Object> map = new HashMap<>();
                    final Item item = result.get();
                    final String objectName = item.objectName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    	ListBuckets(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error)
    	DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error
    	ListObjects(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (result ListObjectsInfo, err error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    		c.Fatalf("user was able to add service accounts unexpectedly!")
    	}
    }
    
    func (c *check) mustNotListObjects(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    	res := client.ListObjects(ctx, bucket, minio.ListObjectsOptions{})
    	v, ok := <-res
    	if !ok || v.Err == nil {
    		c.Fatalf("user was able to list unexpectedly! on %s", bucket)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top