deli v0.1.19 Deli.Controller behaviour View Source

Defines a behaviour for a service controller

Link to this section Summary

Link to this section Types

Link to this section Callbacks

Link to this callback

restart_host(app, host) View Source
restart_host(app(), host()) :: :ok | no_return()

Link to this callback

service_running?(app, host) View Source
service_running?(app(), host()) :: boolean()

Link to this callback

service_status(app, host) View Source
service_status(app(), host()) :: String.t()

Link to this callback

start_host(app, host) View Source
start_host(app(), host()) :: :ok | no_return()

Link to this callback

stop_host(app, host) View Source
stop_host(app(), host()) :: :ok | no_return()