mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Jul 12 10:20:16 UTC 2023
This commit is contained in:
parent
f52bc665a7
commit
b4c2508b12
300 changed files with 7469 additions and 3231 deletions
46
gcloud/alpha/functions/local/call
Normal file
46
gcloud/alpha/functions/local/call
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
NAME
|
||||
gcloud alpha functions local call - call a locally deployed Google Cloud
|
||||
Function
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha functions local call NAME
|
||||
[--cloud-event=CLOUD_EVENT | --data=DATA] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha functions local call Call a locally deployed Google
|
||||
Cloud Function.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the locally deployed Google Cloud function.
|
||||
|
||||
FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--cloud-event=CLOUD_EVENT
|
||||
JSON encoded string with a CloudEvent in structured content mode.
|
||||
|
||||
Mutually exclusive with --data flag.
|
||||
|
||||
Use for Cloud Functions 2nd Gen CloudEvent functions. The CloudEvent
|
||||
object will be sent to your function as a binary content mode message
|
||||
with the top-level 'data' field set as the HTTP body and all other
|
||||
JSON fields sent as HTTP headers.
|
||||
|
||||
--data=DATA
|
||||
JSON string with data that will be passed to the function.
|
||||
|
||||
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.
|
||||
|
||||
29
gcloud/alpha/functions/local/delete
Normal file
29
gcloud/alpha/functions/local/delete
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
NAME
|
||||
gcloud alpha functions local delete - delete a locally deployed Google
|
||||
Cloud Function
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha functions local delete NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha functions local delete Delete a locally deployed
|
||||
Google Cloud Function.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the locally deployed Google Cloud function.
|
||||
|
||||
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.
|
||||
|
||||
54
gcloud/alpha/functions/local/deploy
Normal file
54
gcloud/alpha/functions/local/deploy
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
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.
|
||||
|
||||
33
gcloud/alpha/functions/local/help
Normal file
33
gcloud/alpha/functions/local/help
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
NAME
|
||||
gcloud alpha functions local - manage local instances of Google Cloud
|
||||
Functions
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha functions local COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Manage local instances of Google Cloud Functions.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
call
|
||||
(ALPHA) Call a locally deployed Google Cloud Function.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a locally deployed Google Cloud Function.
|
||||
|
||||
deploy
|
||||
(ALPHA) Deploy a Google Cloud Function locally.
|
||||
|
||||
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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue