Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
etcd
v1.2.5
Etcd
Api
ApiError
Auth
Client
Cluster
Error
Kv
Lease
Maintenance
Model
Base64Converter
DeleteResponse
Grant
Header
KeepAlive
Kv
LeasesArray
LeasesItem
PutResponse
RangeResponse
Status
StringTypeConverter
TimeToLive
TxnResponse
Response
WatchError
WatchEvent
Type
WatchResponse
WatchResult
Utils
Watch
Filter
Watcher
WatchError
Built with Crystal 1.9.2
2023-10-08 14:33:49 UTC
class
Etcd::Maintenance
Etcd::Maintenance
Reference
Object
Defined in:
etcd/maintenance.cr
Constructors
.new
(client : Etcd::Client =
Etcd
::
Client
.new)
Instance Method Summary
#leader
Queries for current leader of the etcd cluster
#status
Queries status of etcd instance
Constructor Detail
def self.
new
(client :
Etcd::Client
=
Etcd
::
Client
.new)
#
[
View source
]
Instance Method Detail
def
leader
#
Queries for current leader of the etcd cluster
[
View source
]
def
status
#
Queries status of etcd instance
[
View source
]