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": "\ue0b0",
"template": " \uf40a {{ .Org }}/{{ .Space }} ",
"style": "powerline",
"type": "cftarget"
}

Template (info)#

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

Properties#

  • .Org: string - Cloud Foundry organization
  • .Space: string - Cloud Foundry space
  • .URL: string - Cloud Foundry API URL
  • .User: string - logged in user