Documentation
¶
Overview ¶
Package gcloud provides CLI commands for Google Cloud Secret Manager, exposed as the "suve gcloud secret <op>" command group plus the "suve gcloud stage <op>" staging workflow.
Google Cloud is secret-only (no parameter store). The read/write/tag commands live in the gcloud/secret package; the staging commands (stage.go) drive the shared staging scaffolding with the Google Cloud strategy. This package owns the --project flag and the Before hook that resolves it, so both subgroups see the same project.
command.go is this package's subject: the gcloud command group it assembles, together with the flag and hook its sibling files share. Hence core.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlatSecretCommand ¶
FlatSecretCommand returns the Google Cloud secret command as a standalone top-level command named `name` (e.g. "secret"). Because there is no parent gcloud group to carry them, it folds in the --project flag and the project-resolving Before hook. Used for the flat `suve secret` alias when Google Cloud is the uniquely active secret provider.
func FlatStageCommand ¶ added in v0.8.1
FlatStageCommand returns the Google Cloud stage command as a standalone top-level command named `name` (e.g. "stage"). Because there is no parent gcloud group to carry them, it folds in the --project flag and the project-resolving Before hook. Used for the flat `suve stage` alias when Google Cloud is the uniquely active staging provider.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package internal holds the Google Cloud project context, store and staging-scope wiring that the gcloud command group, its secret package and its stage commands share.
|
Package internal holds the Google Cloud project context, store and staging-scope wiring that the gcloud command group, its secret package and its stage commands share. |
|
Package secret provides CLI commands for Google Cloud Secret Manager, exposed as the "suve gcloud secret <op>" command group.
|
Package secret provides CLI commands for Google Cloud Secret Manager, exposed as the "suve gcloud secret <op>" command group. |