deli v0.2.0-rc.6 Deli.Check behaviour View Source
Defines a behaviour for service check
Link to this section Summary
Link to this section Types
Link to this type
action()
View Source
action()
View Source
action() :: atom()
action() :: atom()
Link to this type
controller()
View Source
controller()
View Source
controller() :: module() | nil
controller() :: module() | nil
Link to this type
env()
View Source
env()
View Source
env() :: Deli.env()
env() :: Deli.env()
Link to this type
host()
View Source
host()
View Source
host() :: Deli.host()
host() :: Deli.host()
Link to this type
running_good?()
View Source
running_good?()
View Source
running_good?() :: boolean()
running_good?() :: boolean()
Link to this section Callbacks
Link to this callback
run(env, host) View Source
Link to this callback
run(env, host, running_good?)
View Source
run(env, host, running_good?)
View Source
run(env(), host(), running_good?()) :: :ok
run(env(), host(), running_good?()) :: :ok
Link to this callback
run(env, host, running_good?, controller)
View Source
run(env, host, running_good?, controller)
View Source
run(env(), host(), running_good?(), controller()) :: :ok
run(env(), host(), running_good?(), controller()) :: :ok
Link to this callback
run(env, host, running_good?, controller, action)
View Source
run(env, host, running_good?, controller, action)
View Source
run(env(), host(), running_good?(), controller(), action()) :: :ok
run(env(), host(), running_good?(), controller(), action()) :: :ok