The Function specification defines an Application Programming Interface (API) to which a Function must comply in order to be used with Automate
Entrypoint
in its OCI Image. If an Entrypoint
is specified it will be ignored. Instead the Entrypoint
should be provided to Automate as the first values of the function version command, which will be passed to the function when it is run.
Cmd
in its OCI Image. If a Cmd
is specified it will be ignored. Instead, the Cmd
should be provided to Automate as the Function Version command, which will pass it to the Function when it is run.
args
provided as part of the process
(see OCI Runtime Specification) will be the Function Version command provided by the Function author to Automate, followed by one additional arguments in sequential order. For example /usr/local/bin/function /speckle/automate.json
where /usr/local/bin/function
is the Function Version command provided by the Function author to Automate, and /speckle/automate.json
is the first additional argument provided by Automate to the Function.
/speckle/input.json
.
AUTOMATE_FUNCTION_INPUT_PATH
WILL conform to the following json schema:
rlimits
set.