Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for listBucketsLocal (0.13 sec)

  1. cmd/peer-rest-server.go

    		return np, grid.NewRemoteErr(err)
    	}
    
    	return np, nil
    }
    
    func (s *peerRESTServer) ListBucketsHandler(opts *BucketOptions) (*grid.Array[*BucketInfo], *grid.RemoteErr) {
    	buckets, err := listBucketsLocal(context.Background(), *opts)
    	if err != nil {
    		return nil, grid.NewRemoteErr(err)
    	}
    	res := aoBucketInfo.New()
    	for i := range buckets {
    		bucket := buckets[i]
    		res.Append(&bucket)
    	}
    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