PacketFlow.Intent.Plugin.CustomType behaviour (packetflow v0.1.0)

Behaviour for custom intent types

Summary

Callbacks

capabilities()

@callback capabilities() :: list()

intent_type()

@callback intent_type() :: atom()

transform(any)

@callback transform(any()) :: {:ok, any()} | {:error, any()}

validate(any)

@callback validate(any()) :: {:ok, any()} | {:error, any()}