Cloud Foundry Target
What
Display the details of the logged Cloud Foundry endpoint (cf target details).
Sample Configuration
- json
- yaml
- toml
Options
| 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
- json
- yaml
- toml
{
"template": "{{if .Org }}{{ .Org }}{{ end }}{{if .Space }}/{{ .Space }}{{ end }}"
}
template: "{{if .Org }}{{ .Org }}{{ end }}{{if .Space }}/{{ .Space }}{{ end }}"
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 |