loch functions
loch functions
Manage functions: handlers written for AWS Lambda (Node.js, Python, Go/Rust bootstraps) run on the endpoint
Synopsis
Manage the functions module (admin only): handlers written for AWS Lambda™ run in the AWS Lambda base images published by AWS, one compose project per function (fn-<name>), in a private network of their own. Code is a zip (deploy a directory, zipped here, or a zip file); invocations go through the panel (loch functions invoke) or, from the members of the function's networks, to its endpoint with its invoke credentials. What a function prints and returns is untrusted data.
AWS Lambda is a trademark of Amazon.com, Inc. or its affiliates; loch is not affiliated with or endorsed by Amazon.
Options
-h, --help help for functions
Options inherited from parent commands
--debug Show HTTP requests
SEE ALSO
- loch - CLI to manage your containers via Host Panel
- loch functions activate - Activate a kept deployment (rollback)
- loch functions config - Show the runtimes, limits and defaults of the endpoint
- loch functions create - Create a function (invoke credentials shown once)
- loch functions credentials - Manage the invoke credentials of a function
- loch functions delete - Delete a function, its code, secrets and credentials
- loch functions deploy - Deploy code (a directory, zipped here, or a zip file) and activate it
- loch functions deployments - List the kept deployments of a function (newest first)
- loch functions dev - Run a function locally with Docker and the loch runtime (no panel)
- loch functions egress - Allow or block the outbound Internet access of a function
- loch functions invoke - Invoke a function with a JSON event and print its response
- loch functions logs - Show the logs (stdout and stderr) of a function
- loch functions ls - List the functions
- loch functions networks - Show or replace the networks of a function
- loch functions restart - Restart a function
- loch functions secrets - List the secret names of a function, set or remove a secret
- loch functions show - Show a function: configuration, variables, secret names, deployments, endpoint
- loch functions start - Start a function
- loch functions stop - Stop a function (it stays stopped until started)
- loch functions update - Change the resources, handler or variables of a function