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โ
- json
- yaml
- toml
{
"type": "gcp",
"style": "powerline",
"powerline_symbol": "๎ฐ",
"foreground": "#ffffff",
"background": "#47888d",
"template": " ๓ฑถ {{.Project}} :: {{.Account}} "
}
type: gcp
style: powerline
powerline_symbol: ๎ฐ
foreground: "#ffffff"
background: "#47888d"
template: " ๓ฑถ {{.Project}} :: {{.Account}} "
type = "gcp"
style = "powerline"
powerline_symbol = "๎ฐ"
foreground = "#ffffff"
background = "#47888d"
template = " ๓ฑถ {{.Project}} :: {{.Account}} "
Template (informatie)โ
standaard template
{{ if .Error }}{{ .Error }}{{ else }}{{ .Project }}{{ end }}
Eigenschappenโ
| Name | Type | Description |
|---|---|---|
.Project | string | the currently active project |
.Account | string | the currently active account |
.Region | string | default region for the active context |
.ActiveConfig | string | the active configuration name |
.Error | string | contains any error messages generated when trying to load the GCP config |