Function regorust::regoAddEntrypoint
source ยท pub unsafe extern "C" fn regoAddEntrypoint(
rego: *mut regoInterpreter,
entrypoint: *const c_char,
) -> regoEnumExpand description
@brief Adds an entrypoint to the interpreter.
@details
By using this method, an entrypoint can be added to the list of those with
compiled execution plans in a bundle.
@param rego The interpreter
@param entrypoint A valid Rego entrypoint of the form path/to/rule
@return REGO_OK if successful, REGO_ERROR if there were any issues adding
the entrypoint.