diff options
author | Alex <alex@adnab.me> | 2022-12-01 16:51:20 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2022-12-01 16:51:20 +0000 |
commit | f306e8dc8d0e93478353ce39b6064e8c06a8bca6 (patch) | |
tree | 2f7ee2b28a161dc0d5268a6c053c6a8126f64e68 /src/config/options.rs | |
parent | 862e8ce8768338ccdb190055fd05dc7f8e0a01cd (diff) | |
parent | f8431271d9021bfd4bfb85d8c3ba331d5dff9dac (diff) | |
download | diplonat-f306e8dc8d0e93478353ce39b6064e8c06a8bca6.tar.gz diplonat-f306e8dc8d0e93478353ce39b6064e8c06a8bca6.zip |
Merge pull request 'Make repoa Nix flake' (#16) from nix-flake into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/16
Diffstat (limited to 'src/config/options.rs')
-rw-r--r-- | src/config/options.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config/options.rs b/src/config/options.rs index f62d14c..793838a 100644 --- a/src/config/options.rs +++ b/src/config/options.rs @@ -37,6 +37,15 @@ pub struct ConfigOptsConsul { pub node_name: Option<String>, /// Consul's REST URL [default: "http://127.0.0.1:8500"] pub url: Option<String>, + /// Consul's CA certificate [default: None] + pub ca_cert: Option<String>, + /// Skip TLS verification for Consul server [default: false] + #[serde(default)] + pub tls_skip_verify: bool, + /// Consul's client certificate [default: None] + pub client_cert: Option<String>, + /// Consul's client key [default: None] + pub client_key: Option<String>, } /// Model of all potential configuration options |