View Source grisp_connect_cluster (grisp_connect v2.1.0)
Link to this section Summary
Link to this section Types
-type node_options() :: #{hostname := binary(), address := inet:ip4_address(), cookie := atom(), ca := binary(), fingerprint := binary(), monitor => boolean()}.
Link to this section Functions
-spec is_allowed(CertFingerprint :: binary()) -> boolean().
-spec join(Node :: atom(), Opts :: node_options()) -> true | false | error.
-spec leave(Node :: atom()) -> true | false.
-spec list() -> [#{nodename := atom(), connected := boolean()}].