Akd v0.1.4 Akd.Hook behaviour View Source
This module defines a hook struct and a behavior hook modules must follow
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Akd.Hook{commands: String.t() | :noop, exec_dest: Akd.Destination.t(), opts: list() | nil}
Generic type for a Hook with all enforced keys
Link to this section Functions
Link to this function
exec(hook)
View Source
exec(Akd.Hook.t()) :: {:ok, String.t()} | {:error, String.t()}
Link to this section Callbacks
Link to this callback
commands(deployment, opts)
View Source
commands(deployment :: Akd.Deployment.t(), opts :: list()) :: String.t()