Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getBucketInfoLocal (0.22 sec)

  1. cmd/peer-s3-server.go

    	copyDrives := make([]StorageAPI, 0, len(drives))
    	for _, drive := range drives {
    		copyDrives = append(copyDrives, drive)
    	}
    	return copyDrives
    }
    
    func getBucketInfoLocal(ctx context.Context, bucket string, opts BucketOptions) (BucketInfo, error) {
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    	return healBucketLocal(ctx, bucket, opts)
    }
    
    func (l localPeerS3Client) GetBucketInfo(ctx context.Context, bucket string, opts BucketOptions) (BucketInfo, error) {
    	return getBucketInfoLocal(ctx, bucket, opts)
    }
    
    func (l localPeerS3Client) MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error {
    	return makeBucketLocal(ctx, bucket, opts)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	if isMinioMetaBucket(bucket) {
    		return info, grid.NewRemoteErr(errInvalidArgument)
    	}
    
    	bucketDeleted := mss.Get(peerS3BucketDeleted) == "true"
    
    	bucketInfo, err := getBucketInfoLocal(context.Background(), bucket, BucketOptions{
    		Deleted: bucketDeleted,
    	})
    	if err != nil {
    		return info, grid.NewRemoteErr(err)
    	}
    
    	return &VolInfo{
    		Name:    bucketInfo.Name,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top