nerves_runtime v0.9.2 Nerves.Runtime.KV.Mock

Applications that depend on nerves_runtime for accessing provisioning information from the Nerves.Runtime.KV can mock the contents through the Application config.

config :nerves_runtime, :modules, [
  {Nerves.Runtime.KV.Mock, %{"key" => "value"}}
]

Link to this section Summary

Link to this section Functions

Callback implementation for Nerves.Runtime.KV.init/1.

Link to this function init_state(state)