vintage_net v0.2.1 VintageNet.Interface.Supervisor
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Clear out children and child_specs from a technology
Add child_specs provided by technologies to supervision
Start the interface supervisor
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
clear_technology(ifname)
clear_technology(ifname)
clear_technology(VintageNet.ifname()) :: :ok
clear_technology(VintageNet.ifname()) :: :ok
Clear out children and child_specs from a technology
Link to this function
set_technology(ifname, child_specs)
set_technology(ifname, child_specs)
set_technology(VintageNet.ifname(), [
:supervisor.child_spec() | {module(), term()} | module()
]) :: :ok
set_technology(VintageNet.ifname(), [ :supervisor.child_spec() | {module(), term()} | module() ]) :: :ok
Add child_specs provided by technologies to supervision
Link to this function
start_link(ifname)
start_link(ifname)
start_link(VintageNet.ifname()) :: :ignore | {:error, any()} | {:ok, pid()}
start_link(VintageNet.ifname()) :: :ignore | {:error, any()} | {:ok, pid()}
Start the interface supervisor