Skip to main content

Cloud Foundry Target

Whatโ€‹

Display the details of the logged Cloud Foundry endpoint (cf target details).

Sample Configurationโ€‹

{
"background": "#a7cae1",
"foreground": "#100e23",
"powerline_symbol": "๎‚ฐ",
"template": " ๏Š {{ .Org }}/{{ .Space }} ",
"style": "powerline",
"type": "cftarget"
}

Propertiesโ€‹

NameTypeDefaultDescription
display_modestringalways
  • always: the segment is always displayed
  • files: the segment is only displayed when a manifest.yml file is present

Template (info)โ€‹

default template
{{if .Org }}{{ .Org }}{{ end }}{{ if .Space }}/{{ .Space }}{{ end }}

Propertiesโ€‹

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