Lines Matching refs:opt

356     def check_cluster(opt={})  argument
358 show_nodes if !opt[:quiet]
971 def check_cluster_cmd(argv,opt) argument
976 def info_cluster_cmd(argv,opt) argument
981 def rebalance_cluster_cmd(argv,opt) argument
982 opt = {
985 }.merge(opt)
992 threshold = opt['threshold'].to_i
993 autoweights = opt['auto-weights']
995 opt['weight'].each{|w|
1003 } if opt['weight']
1004 useempty = opt['use-empty-masters']
1028 threshold = opt['threshold'].to_f
1111 if opt['simulate']
1119 :pipeline=>opt['pipeline'])
1135 def fix_cluster_cmd(argv,opt) argument
1137 @timeout = opt['timeout'].to_i if opt['timeout']
1143 def reshard_cluster_cmd(argv,opt) argument
1144 opt = {'pipeline' => MigrateDefaultPipeline}.merge(opt)
1153 @timeout = opt['timeout'].to_i if opt['timeout'].to_i
1156 if opt['slots']
1157 numslots = opt['slots'].to_i
1167 if opt['to']
1168 target = get_node_by_name(opt['to'])
1187 if opt['from']
1188 opt['from'].split(',').each{|node_id|
1252 if !opt['yes']
1260 :pipeline=>opt['pipeline'])
1278 def create_cluster_cmd(argv,opt) argument
1279 opt = {'replicas' => 0}.merge(opt)
1280 @replicas = opt['replicas'].to_i
1311 def addnode_cluster_cmd(argv,opt) argument
1320 if opt['slave']
1321 if opt['master-id']
1322 master = get_node_by_name(opt['master-id'])
1324 xputs "[ERR] No such master ID #{opt['master-id']}"
1347 if opt['slave']
1355 def delnode_cluster_cmd(argv,opt) argument
1393 def set_timeout_cluster_cmd(argv,opt) argument
1421 def call_cluster_cmd(argv,opt) argument
1438 def import_cluster_cmd(argv,opt) argument
1439 source_addr = opt['from']
1441 use_copy = opt['copy']
1442 use_replace = opt['replace']
1491 def help_cluster_cmd(argv,opt) argument