Revision 7699c3af lib/luxi.py
b/lib/luxi.py | ||
---|---|---|
56 | 56 |
REQ_QUERY_EXPORTS = "QueryExports" |
57 | 57 |
REQ_QUERY_CONFIG_VALUES = "QueryConfigValues" |
58 | 58 |
REQ_QUERY_CLUSTER_INFO = "QueryClusterInfo" |
59 |
REQ_QUERY_TAGS = "QueryTags" |
|
59 | 60 |
REQ_QUEUE_SET_DRAIN_FLAG = "SetDrainFlag" |
60 | 61 |
REQ_SET_WATCHER_PAUSE = "SetWatcherPause" |
61 | 62 |
|
... | ... | |
384 | 385 |
def QueryConfigValues(self, fields): |
385 | 386 |
return self.CallMethod(REQ_QUERY_CONFIG_VALUES, fields) |
386 | 387 |
|
388 |
def QueryTags(self, kind, name): |
|
389 |
return self.CallMethod(REQ_QUERY_TAGS, (kind, name)) |
|
390 |
|
|
387 | 391 |
|
388 | 392 |
# TODO: class Server(object) |
Also available in: Unified diff