Current section

Files

Jump to
bella lib bella watcher.ex
Raw

lib/bella/watcher.ex

defmodule Bella.Watcher do
@callback operation(Bella.Watcher.State.t()) :: K8s.Operation.t()
@callback add(map(), Bella.Watcher.State.t()) :: :ok | :error
@callback modify(map(), Bella.Watcher.State.t()) :: :ok | :error
@callback delete(map(), Bella.Watcher.State.t()) :: :ok | :error
end