… is a function interface into the second layer of packaging of the Standard SDLC Packaging pattern.
It’s purpose is to provide an easy way to enrich a “package” into an “operable”.
The function signature is as follows:
/* Makes a package operable by configuring the necessary runtime environment. Args: package: The package to wrap. runtimeScript: A bash script to run at runtime. runtimeEnv: An attribute set of environment variables to set at runtime. runtimeInputs: A list of packages to add to the runtime environment. livenessProbe: An optional derivation to run to check if the program is alive. readinessProbe: An optional derivation to run to check if the program is ready. Returns: An operable for the given package. */