View Source MishkaInstaller.PluginState (Mishka Installer v0.0.1)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Types
@type event_name() :: String.t()
@type id() :: String.t()
@type module_name() :: String.t()
@type params() :: map()
@type plugin() :: %MishkaInstaller.PluginState{ depend_type: :soft | :hard, depends: [String.t()], event: event_name(), extra: [map()], name: module_name(), parent_pid: any(), priority: integer(), status: :started | :stopped | :restarted }
@type t() :: plugin()
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get([{:module, module_name()}]) :: plugin() | {:error, :get, :not_found}