ASM.Remote.Capabilities (ASM v0.9.2)

Copy Markdown View Source

Remote node capability and compatibility handshake helpers.

Summary

Types

handshake_t()

@type handshake_t() :: %{
  asm_version: String.t(),
  otp_release: String.t(),
  capabilities: [atom()]
}

Functions

current_asm_version()

@spec current_asm_version() :: String.t()

current_otp_release()

@spec current_otp_release() :: String.t()

handshake()

@spec handshake() :: handshake_t()

otp_major_compatible?(local_release, remote_release)

@spec otp_major_compatible?(String.t(), String.t()) :: boolean()

required_capabilities()

@spec required_capabilities() :: [atom()]

version_compatible?(local_version, remote_version)

@spec version_compatible?(String.t(), String.t()) :: boolean()