Astarte.Core.Mapping.EndpointsAutomaton (astarte_core v1.1.1) View Source
Link to this section Summary
Functions
builds the automaton for given mappings
, returns :ok
followed by the automaton tuple if build succeeded, otherwise :error
and the reason.
returns true if nfa
is valid for given mappings
returns a list of likely invalid endpoints for a certain list of mappings
.
returns :ok
and an endpoint for a given path
using a previously built automata ({transitions, accepting_states}
).
if path is not complete one or more endpoints will be guessed and :guessed
followed by a list of endpoints is returned.
Link to this section Functions
builds the automaton for given mappings
, returns :ok
followed by the automaton tuple if build succeeded, otherwise :error
and the reason.
returns true if nfa
is valid for given mappings
returns a list of likely invalid endpoints for a certain list of mappings
.
returns :ok
and an endpoint for a given path
using a previously built automata ({transitions, accepting_states}
).
if path is not complete one or more endpoints will be guessed and :guessed
followed by a list of endpoints is returned.