ArgoCD Context
What
Display the current ArgoCD context name, user and/or server.
Sample 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 }} "
Template ([info][templates])
default template
{{ .Name }}
Properties
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 |