Saltar al contenido principal

Contexto de GCP

Traducción Beta No Oficial

Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →

Qué hace

Muestra el proyecto, región y cuenta de GCP activos actualmente

Configuración de ejemplo

{
"type": "gcp",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#47888d",
"template": " 󱇶 {{.Project}} :: {{.Account}} "
}

Plantilla (info)

plantilla predeterminada
{{ if .Error }}{{ .Error }}{{ else }}{{ .Project }}{{ end }}

Propiedades

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