Cloud Foundry Target
What
Display the details of the logged Cloud Foundry endpoint (cf target
details).
Sample Configuration
- json
- yaml
- toml
{
"background": "#a7cae1",
"foreground": "#100e23",
"powerline_symbol": "",
"template": " {{ .Org }}/{{ .Space }} ",
"style": "powerline",
"type": "cftarget"
}
background: "#a7cae1"
foreground: "#100e23"
powerline_symbol:
template: " {{ .Org }}/{{ .Space }} "
style: powerline
type: cftarget
background = "#a7cae1"
foreground = "#100e23"
powerline_symbol = ""
template = " {{ .Org }}/{{ .Space }} "
style = "powerline"
type = "cftarget"
Properties
Name | Type | Default | Description |
---|---|---|---|
display_mode | string | always |
|
files | []string | ["manifest.yml"] | on which files to display the segment on. Will look in parent folders as well |
Template (info)
default template
{{if .Org }}{{ .Org }}{{ end }}{{ if .Space }}/{{ .Space }}{{ end }}
Properties
Name | Type | Description |
---|---|---|
.Org | string | Cloud Foundry organization |
.Space | string | Cloud Foundry space |
.URL | string | Cloud Foundry API URL |
.User | string | logged in user |