You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
list_buckets for both KV and Object have their own contract that looks like {:ok, ["TEST_BUCKET_1", "TEST_BUCKET_2"], %{total:_, offset: 0, limit: 1024}}.
list_buckets/2 in either module will optionally accept a parameter which specifies the offset and limit of the next page.
This is to avoid introducing breaking changes to the existing implementation of KV's list_object function, as well as the proposed Object list_buckets function.
The text was updated successfully, but these errors were encountered:
It paginates through all the streams and for each of them that match the right prefix, it generates a KeyValueStoreStatus. We're just returning the names, but I think we could handle the pagination and then just return the full list of KV bucket names?
I also couldn't find any pagination options that are available on the CLI, so I'm guessing it just paginates through all of them as well?
Proposal:
list_buckets
for both KV and Object have their own contract that looks like{:ok, ["TEST_BUCKET_1", "TEST_BUCKET_2"], %{total:_, offset: 0, limit: 1024}}
.list_buckets/2
in either module will optionally accept a parameter which specifies the offset and limit of the next page.This is to avoid introducing breaking changes to the existing implementation of KV's
list_object
function, as well as the proposed Objectlist_buckets
function.The text was updated successfully, but these errors were encountered: