Direct naar hoofdinhoud

Cloud Foundry Doel

Onofficiรซle Beta-vertaling

Deze pagina is vertaald door PageTurner AI (beta). Niet officieel goedgekeurd door het project. Een fout gevonden? Probleem melden โ†’

Watโ€‹

Toont de details van het ingelogde Cloud Foundry-eindpunt (de details van cf target).

Voorbeeldconfiguratieโ€‹

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

Optiesโ€‹

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

Template (informatie)โ€‹

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

Eigenschappenโ€‹

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