Railyard v0.1.0 Railyard.Provider protocol View Source
The protocol that a Railyard provider must implement in order to create resources
of that type. See Railyard.Fs.File
for a simple example.
Link to this section Summary
Link to this section Types
Link to this type
action()
View Source
action()
View Source
action() :: any()
action() :: any()
Link to this type
bindings()
View Source
bindings()
View Source
bindings() :: list()
bindings() :: list()
Link to this type
error()
View Source
error()
View Source
error() :: {:error, String.t()}
error() :: {:error, String.t()}
Link to this type
ok_or_error() View Source
Link to this type
resource()
View Source
resource()
View Source
resource() :: any()
resource() :: any()
Link to this type
state()
View Source
state()
View Source
state() :: any()
state() :: any()
Link to this type
t()
View Source
t()
View Source
t() :: term()
t() :: term()
Link to this section Functions
Link to this function
action(resource, action, bindings, state) View Source
Link to this function
cleanup(resource, state) View Source
Link to this function
init(resource, bindings) View Source
Link to this function