Astarte.Device.SimpleInterfaceProvider.init
You're seeing just the function
init
, go back to Astarte.Device.SimpleInterfaceProvider module for more information.
Link to this function
init(args)
Loads interfaces from a list of maps, each representing the JSON serialization of an interface.
Returns {:ok, interfaces}
where interfaces
is a map of interface_name => %Astarte.Core.Interface{}
or {:error, reason}
if an interface can't be loaded.
args
is a keyword list of options.
Options
interfaces
- A list of maps representing an interface.