Class ServiceConfig.Etcd
- All Implemented Interfaces:
ServiceConfig
- Enclosing interface:
ServiceConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServiceConfig
ServiceConfig.Akamai, ServiceConfig.AliyunDrive, ServiceConfig.Azblob, ServiceConfig.Azdls, ServiceConfig.Azfile, ServiceConfig.B2, ServiceConfig.B2S3, ServiceConfig.Cacache, ServiceConfig.CephRgw, ServiceConfig.CloudflareKv, ServiceConfig.Compfs, ServiceConfig.Cos, ServiceConfig.CosS3, ServiceConfig.D1, ServiceConfig.Dashmap, ServiceConfig.Dbfs, ServiceConfig.Dropbox, ServiceConfig.Etcd, ServiceConfig.Exoscale, ServiceConfig.Foyer, ServiceConfig.Fs, ServiceConfig.Garage, ServiceConfig.Gcs, ServiceConfig.GcsGrpc, ServiceConfig.GcsS3, ServiceConfig.Gdrive, ServiceConfig.Ghac, ServiceConfig.Github, ServiceConfig.Goosefs, ServiceConfig.Gridfs, ServiceConfig.HdfsNative, ServiceConfig.Hetzner, ServiceConfig.Hf, ServiceConfig.Http, ServiceConfig.IbmCos, ServiceConfig.IdriveE2, ServiceConfig.Ionos, ServiceConfig.Ipfs, ServiceConfig.Ipmfs, ServiceConfig.Koofr, ServiceConfig.Lakefs, ServiceConfig.LakefsS3, ServiceConfig.Memcached, ServiceConfig.Memory, ServiceConfig.MiniMoka, ServiceConfig.Minio, ServiceConfig.Moka, ServiceConfig.Mongodb, ServiceConfig.Monoiofs, ServiceConfig.Mysql, ServiceConfig.Neon, ServiceConfig.Obs, ServiceConfig.ObsS3, ServiceConfig.Oci, ServiceConfig.Onedrive, ServiceConfig.Opfs, ServiceConfig.Oss, ServiceConfig.OssS3, ServiceConfig.Ovhcloud, ServiceConfig.Pcloud, ServiceConfig.Persy, ServiceConfig.Postgresql, ServiceConfig.Qingstor, ServiceConfig.R2, ServiceConfig.Redb, ServiceConfig.Redis, ServiceConfig.Rustfs, ServiceConfig.S3, ServiceConfig.Scaleway, ServiceConfig.Seafile, ServiceConfig.Seaweedfs, ServiceConfig.Sftp, ServiceConfig.Sled, ServiceConfig.Spaces, ServiceConfig.Sqlite, ServiceConfig.Storj, ServiceConfig.Supabase, ServiceConfig.Surrealdb, ServiceConfig.Swift, ServiceConfig.SwiftS3api, ServiceConfig.Tigris, ServiceConfig.Tos, ServiceConfig.TosS3, ServiceConfig.Upyun, ServiceConfig.VercelArtifacts, ServiceConfig.VercelBlob, ServiceConfig.Wasabi, ServiceConfig.Webdav, ServiceConfig.Webhdfs, ServiceConfig.YandexDisk -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringPEM certificate authority file used to verify the server.final StringPEM client certificate file used for mutual TLS.final Stringnetwork address of the Etcd services.final StringPEM client private key file used for mutual TLS.final Longthe maximum size in bytes of a gRPC response that the etcd client decodes.final Stringthe password for authenticationfinal Stringthe working directory of the etcd service.final Stringthe username to connect etcd service. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
caPath
PEM certificate authority file used to verify the server. Enables TLS independently of
cert_pathandkey_path.default is None
-
certPath
PEM client certificate file used for mutual TLS. Must be configured together with
key_path.default is None
-
endpoints
network address of the Etcd services. Use HTTPS endpoints for TLS. Set
ca_pathto trust a custom certificate authority. Client authentication additionally requires bothcert_pathandkey_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"
-
keyPath
PEM client private key file used for mutual TLS. Must be configured together with
cert_path.default is None
-
maxDecodingMessageSize
the maximum size in bytes of a gRPC response that the etcd client decodes.
Set this to read values larger than the etcd client's own limit. The etcd server must also allow responses of that size.
Refer to
etcd_client::KvClient::max_decoding_message_sizedefault is None, which keeps the etcd client default of 4 MiB
-
password
the password for authentication
default is None
-
root
the working directory of the etcd service. Can be "/path/to/dir"
default is "/"
-
username
the username to connect etcd service.
default is None
-
-
Constructor Details
-
Etcd
public Etcd()
-
-
Method Details
-
scheme
Description copied from interface:ServiceConfigThe scheme of the service.- Specified by:
schemein interfaceServiceConfig- Returns:
- the scheme
-
configMap
Description copied from interface:ServiceConfigConvert the structured config to a type erased config map.A map-valued field becomes one entry, under the field's option name, whose value is a JSON object string, such as
assume_role_session_tags={"Team":"data"}. The map's entries are not flattened into top-level entries. Its keys are sorted, an empty map becomes{}, and an unset field has no entry.- Specified by:
configMapin interfaceServiceConfig- Returns:
- the config map
-