Class ServiceConfig.Etcd

java.lang.Object
org.apache.opendal.ServiceConfig.Etcd
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Etcd extends Object implements ServiceConfig
Configuration for service etcd.
  • Field Details

    • endpoints

      public final String endpoints

      network address of the Etcd services. If use https, must set TLS options: ca_path, cert_path, key_path. e.g. "127.0.0.1:23790,127.0.0.1:23791,127.0.0.1:23792" or "http://127.0.0.1:23790,http://127.0.0.1:23791,http://127.0.0.1:23792" or "https://127.0.0.1:23790,https://127.0.0.1:23791,https://127.0.0.1:23792"

      default is "http://127.0.0.1:2379"

    • username

      public final String username

      the username to connect etcd service.

      default is None

    • password

      public final String password

      the password for authentication

      default is None

    • root

      public final String root

      the working directory of the etcd service. Can be "/path/to/dir"

      default is "/"

    • caPath

      public final String caPath

      certificate authority file path

      default is None

    • certPath

      public final String certPath

      cert path

      default is None

    • keyPath

      public final String keyPath

      key path

      default is None

  • Constructor Details

    • Etcd

      public Etcd()
  • Method Details