deli v0.1.28 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(env, host) View Source
restart_host(env(), host()) :: :ok | no_return()

Link to this callback

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

Link to this callback

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

Link to this callback

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

Link to this callback

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