Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using
doctl), then deploy to a production namespace or App Platform — no servers required. Learn more about functions.
The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.
You can use the API to manage your Functions namespaces.
doctl supports a command line workflow for developing functions locally and managing their deployment to Functions. See the
doctl serverless documentation or use
doctl serverless --help for more information.