2015-06-11 5 views
2

Используя Riak Client (erlang), я могу перечислить все ведра типа ковша по умолчанию. Но как я могу перечислить все типы ковша? Или, если я не могу сделать это клиентом, как я могу узнать об этом?Как перечислить все типы ведра в riak?

ответ

3

Для v2.1.4, riak-admin bucket-type list - это то, что вы ищете.

Другие суб-команды для riak-admin bucket-type (взяты из Riak документы на более ранней ревизии) включают в себя:

Command Action         Form 
create  create or modify a bucket type   create <type> <json> 
      before activation 

activate activate a bucket type     activate <type> 

list  list all currently available bucket 
      types and their activation status  list 

status  display the status and properties  status <type> 
      of a specific bucket type 

update  update a bucket type after activation update <type> <json> 
Смежные вопросы