Class EtcdBootstrapContext

java.lang.Object
io.deephaven.kv.etcd.EtcdBootstrapContext

public class EtcdBootstrapContext extends Object
Provides a context to bootstrap an etcd client.
  • Constructor Details

    • EtcdBootstrapContext

      public EtcdBootstrapContext(Path path)
  • Method Details

    • getPath

      public Path getPath()
    • createCheckedFactory

      public BetterClientImpl.Factory createCheckedFactory(KeyPermissions desiredPermissions) throws IOException
      Creates a factory, which checks permissions (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

      public static List<String> endpoints(io.deephaven.shadow.jetcd.io.etcd.jetcd.ClientBuilder config)