Pulumi
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 l'utilisateur connecté actif, l'URL et la pile de Pulumi.
attention
Cela nécessite un binaire pulumi dans votre PATH et ne s'affichera que dans les répertoires contenant un fichier Pulumi.yaml.
Exemple de configuration
- json
- yaml
- toml
{
"type": "pulumi",
"style": "diamond",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#662d91",
"template": " {{ .Stack }}{{if .User }} :: {{ .User }}@{{ end }}{{ if .URL }}{{ .URL }}{{ end }}"
}
type: pulumi
style: diamond
powerline_symbol:
foreground: "#ffffff"
background: "#662d91"
template: " {{ .Stack }}{{if .User }} :: {{ .User }}@{{ end }}{{ if .URL }}{{
.URL }}{{ end }}"
type = "pulumi"
style = "diamond"
powerline_symbol = ""
foreground = "#ffffff"
background = "#662d91"
template = " {{ .Stack }}{{if .User }} :: {{ .User }}@{{ end }}{{ if .URL }}{{ .URL }}{{ end }}"
Options
| Name | Type | Default | Description |
|---|---|---|---|
fetch_stack | boolean | false | fetch the current stack name |
fetch_about | boolean | false | fetch the URL and user for the current stask. Requires fetch_stack set to true |
Modèle (info)
modèle par défaut
\ue873 {{ .Stack }}{{if .User }} :: {{ .User }}@{{ end }}{{ if .URL }}{{ .URL }}{{ end }}
Propriétés
| Name | Type | Description |
|---|---|---|
.Stack | string | the current stack name |
.User | string | is the current logged in user |
.Url | string | the URL of the state where pulumi stores resources |