Package io.deephaven.kv.etcd
Class EtcdBootstrapContext
java.lang.Object
io.deephaven.kv.etcd.EtcdBootstrapContext
Provides a context to bootstrap an etcd client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCheckedFactory(KeyPermissions desiredPermissions) Creates afactory, which checkspermissions(if provided), and checks the cluster id (if provided).endpoints(io.deephaven.shadow.jetcd.io.etcd.jetcd.ClientBuilder config) getPath()
-
Constructor Details
-
EtcdBootstrapContext
-
-
Method Details
-
getPath
-
createCheckedFactory
public BetterClientImpl.Factory createCheckedFactory(KeyPermissions desiredPermissions) throws IOException Creates afactory, which checkspermissions(if provided), and checks the cluster id (if provided).- Parameters:
desiredPermissions- the minimum permissions that the caller desires- Returns:
- the factory
- Throws:
IOException- if there is an IO error while reading the config
-
endpoints
-