Contexte ArgoCD
Traduction Bêta Non Officielle
Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →
Description
Affiche le nom du contexte ArgoCD actuel, l'utilisateur et/ou le serveur.
Exemple de configuration
- 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 }} "
Modèle (info)
modèle par défaut
{{ .Name }}
Propriétés
| 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 |