Contexto de ArgoCD
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
Mostrar el nombre del contexto actual de ArgoCD, el usuario y/o el servidor.
Configuración de ejemplo
- json
- yaml
- toml
{
"type": "argocd",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#FFA400",
"template": " {{ .Name }}:{{ .User }}@{{ .Server }} "
}
type: argocd
style: powerline
powerline_symbol:
foreground: "#ffffff"
background: "#FFA400"
template: " {{ .Name }}:{{ .User }}@{{ .Server }} "
type = "argocd"
style = "powerline"
powerline_symbol = ""
foreground = "#ffffff"
background = "#FFA400"
template = " {{ .Name }}:{{ .User }}@{{ .Server }} "
Plantilla (info)
plantilla predeterminada
{{ .Name }}
Propiedades
| Name | Type | Description |
|---|---|---|
.Name | string | the current context name |
.Server | string | the server of the current context |
.User | string | the user of the current context |