Expand description
gadk deploy cloudrun.
The flag structs keep ADK’s shape (the nested flag groups, field for field in ADK’s order) so
CloudRunFlags::go_v can print the one-line flags dump ADK’s tool prints; gadk’s
additions (bin, target) sit after those fields and are never printed.
gadk builds the image remotely from the staged Cargo workspace (the "Staging source" step
takes the slot of ADK’s "Compiling server") with the two-stage Dockerfile of
crate::stage::dockerfile; the checks, the CMD array, the gcloud invocations and the
console output follow ADK’s.
Structs§
- Build
Flags - The build flags.
- Cloud
RunFlags - The flags of
gadk deploy cloudrun, plus gadk’s--binand the resolved Cargo target. - Cloud
RunService Flags - The Cloud Run service flags.
- GCloud
Flags - The gcloud flags.
- Local
Proxy Flags - The local proxy flags.
- Source
Flags - The source flags.
- Trigger
Config Flags - The trigger configuration flags.
Constants§
- LONG
- The command’s long description (tabs and trailing spaces preserved).
- SHORT
- The command’s short description.
- TRIGGER_
OIDC_ FLAG_ NAMES - The four OIDC flags whose passed state is recorded.
Functions§
- check_
oidc_ values_ are_ not_ flags - Rejects an audience or service account starting with
-, as when an unset variable makes a flag take the next flag as its value. - check_
trigger_ oidc_ emitted - Rejects OIDC values for a trigger that is not enabled (they are written only after that trigger’s keyword).
- command
- The
cloudruncommand with its flags, in ADK’s order, plus gadk’s--bin. - from_
matches - The flags of a parsed
cloudruncommand, with the passed OIDC flags recorded (note_passed_oidc_flagsfromcrate::flags::passed). - validate_
service_ name - Rejects a
--service_namegcloud would parse as a flag. - validate_
trigger_ oidc - Rejects the trigger’s OIDC values the Dockerfile cannot carry or the trigger’s sublauncher would refuse at startup.
- write_
oidc_ flags - Writes the trigger’s OIDC flags when set (
compute_flagshas checked that both or neither are).