Packages

A utility for interfacing with the Balena Supervisor API's, either remotely, or from within a container host.

Current section

Files

Jump to
ex_balena lib ex_balena.ex
Raw

lib/ex_balena.ex

defmodule ExBalena do
@moduledoc """
The packages principal context.
"""
@spec start() :: :ok | no_return()
def start() do
with {:ok, _supervisor} <- ExBalena.Supervisor.start_link() do
:ok
end
end
def healthy, do: ExBalena.API.V1.get("/healthy")
# defmodule Fleet do
# alias ExBalena.API.V2
# end
end