Method: Etcdv3#get
- Defined in:
- lib/etcdv3.rb
#get(key, opts = {}) ⇒ Object
key - string optional :range_end - string optional :limit - integer optional :revision - integer optional :sort_order - symbol - [:none, :ascend, :descend] optional :sort_target - symbol - [:key, :version, :create, :mode, :value] optional :serializable - boolean optional :keys_only - boolean optional :count_only - boolean optional :min_mod_revision - integer optional :max_mod_revision - integer optional :min_create_revision - integer optional :max_create_revision - integer optional :timeout - integer
99 100 101 |
# File 'lib/etcdv3.rb', line 99 def get(key, opts={}) @conn.handle(:kv, 'get', [key, opts]) end |