scout_apm v1.0.7 ScoutApm.Core.AgentManager

Link to this section Summary

Link to this section Types

Link to this type

t()

t() :: %ScoutApm.Core.AgentManager{socket: :gen_tcp.socket() | nil}

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

download_binary(url, directory, file_name)

download_binary(String.t(), String.t(), String.t()) :: :ok | {:error, any()}
Link to this function

maybe_download()

maybe_download() :: {:ok, map()} | {:error, any()}
Link to this function

pad_leading(binary, len, byte \\ 0)

pad_leading(binary(), integer(), integer()) :: binary()
Link to this function

run(bin_path)

run(String.t()) :: {:ok, :gen_tcp.socket()} | nil
Link to this function

setup()

setup() :: :gen_tcp.socket() | nil
Link to this function

verify_or_download()

verify_or_download() :: {:ok, map()} | {:error, any()}