mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 08:27:05 +00:00
54 lines
1.8 KiB
Text
54 lines
1.8 KiB
Text
NAME
|
|
gcloud alpha functions local deploy - deploy a Google Cloud Function
|
|
locally
|
|
|
|
SYNOPSIS
|
|
gcloud alpha functions local deploy NAME [--builder=BUILDER]
|
|
[--entry-point=ENTRY_POINT] [--port=PORT; default=8080]
|
|
[--runtime=RUNTIME] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) gcloud alpha functions local deploy Deploy a Google Cloud Function
|
|
locally.
|
|
|
|
POSITIONAL ARGUMENTS
|
|
NAME
|
|
Name of the locally deployed Google Cloud function.
|
|
|
|
FLAGS
|
|
--builder=BUILDER
|
|
Name of the builder to use for pack, e.g.
|
|
gcr.io/gae-runtimes/buildpacks/google-gae-22/go/builder.
|
|
|
|
--entry-point=ENTRY_POINT
|
|
Name of a Google Cloud Function (as defined in source code) that will
|
|
be executed. Defaults to the resource name suffix (ID of the function),
|
|
if not specified.
|
|
|
|
--port=PORT; default=8080
|
|
Port for the deployment to run on.
|
|
|
|
--runtime=RUNTIME
|
|
Runtime in which to run the function.
|
|
|
|
Required when deploying a new function; optional when updating an
|
|
existing function.
|
|
|
|
For a list of available runtimes, run gcloud functions runtimes list.
|
|
|
|
RUNTIME must be one of: python, go, java, nodejs, php, ruby, dotnet.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist.
|
|
|