PiperCI FaaS APIs¶
piperci.faas is the primary interface used for developing PiperCI FaaS functions. It wraps other PiperCI API libraries and provides a single set of interfaces to FaaS templates.
from piperci.faas.exceptions import (PiperError, PiperDelegateError,
PiperActiveError, PiperLoggingError)
ThisTask¶
piperci.thistask is the primary interface used by a FaaS function to control process flow, handle input data and upload logs and artifacts. ThisTask handles all the backend CRUD and forking operations.
For a working example in a FaaS function see noop faas
from piperci.faas.this_task import ThisTask