diff options
Diffstat (limited to 'deps/rabbitmq_peer_discovery_etcd/include/rabbit_peer_discovery_etcd.hrl')
-rw-r--r-- | deps/rabbitmq_peer_discovery_etcd/include/rabbit_peer_discovery_etcd.hrl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/deps/rabbitmq_peer_discovery_etcd/include/rabbit_peer_discovery_etcd.hrl b/deps/rabbitmq_peer_discovery_etcd/include/rabbit_peer_discovery_etcd.hrl new file mode 100644 index 0000000000..a4764f3e80 --- /dev/null +++ b/deps/rabbitmq_peer_discovery_etcd/include/rabbit_peer_discovery_etcd.hrl @@ -0,0 +1,26 @@ +%% This Source Code Form is subject to the terms of the Mozilla Public +%% License, v. 2.0. If a copy of the MPL was not distributed with this +%% file, You can obtain one at https://mozilla.org/MPL/2.0/. +%% +%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved. +%% + +-define(BACKEND_CONFIG_KEY, peer_discovery_etcd). + +-record(statem_data, { + endpoints, + tls_options, + connection_name, + connection_pid, + connection_monitor, + key_prefix, + cluster_name, + node_key_lease_id, + node_key_ttl_in_seconds, + %% the pid of the process returned by eetcd_lease:keep_alive/2 + %% which refreshes this node's key lease + node_lease_keepalive_pid, + lock_ttl_in_seconds, + username, + obfuscated_password +}). |