Direct naar hoofdinhoud

GCP-context

Onofficiรซle Beta-vertaling

Deze pagina is vertaald door PageTurner AI (beta). Niet officieel goedgekeurd door het project. Een fout gevonden? Probleem melden โ†’

Watโ€‹

Toon het momenteel actieve GCP-project, -regio en -account

Voorbeeldconfiguratieโ€‹

{
"type": "gcp",
"style": "powerline",
"powerline_symbol": "๎‚ฐ",
"foreground": "#ffffff",
"background": "#47888d",
"template": " ๓ฑ‡ถ {{.Project}} :: {{.Account}} "
}

Template (informatie)โ€‹

standaard template
{{ if .Error }}{{ .Error }}{{ else }}{{ .Project }}{{ end }}

Eigenschappenโ€‹

NameTypeDescription
.Projectstringthe currently active project
.Accountstringthe currently active account
.Regionstringdefault region for the active context
.ActiveConfigstringthe active configuration name
.Errorstringcontains any error messages generated when trying to load the GCP config