Aller au contenu principal

Cible Cloud Foundry

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 les détails du point de terminaison Cloud Foundry actuellement connecté (détails de cf target).

Exemple de configuration

{
"background": "#a7cae1",
"foreground": "#100e23",
"powerline_symbol": "",
"template": "  {{ .Org }}/{{ .Space }} ",
"style": "powerline",
"type": "cftarget"
}

Options

NameTypeDefaultDescription
display_modestringalways
  • always: the segment is always displayed
  • files: the segment is only displayed when a manifest.yml file is present (or defined otherwise using files)
files[]string["manifest.yml"]on which files to display the segment on. Will look in parent folders as well

Modèle (info)

modèle par défaut
{{if .Org }}{{ .Org }}{{ end }}{{ if .Space }}/{{ .Space }}{{ end }}

Propriétés

NameTypeDescription
.OrgstringCloud Foundry organization
.SpacestringCloud Foundry space
.URLstringCloud Foundry API URL
.Userstringlogged in user