Saltar al contenido principal

Destino de Cloud Foundry

Traducción Beta No Oficial

Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →

Qué hace

Muestra los detalles del punto de conexión de Cloud Foundry en el que has iniciado sesión (detalles de cf target).

Configuración de ejemplo

{
"background": "#a7cae1",
"foreground": "#100e23",
"powerline_symbol": "",
"template": "  {{ .Org }}/{{ .Space }} ",
"style": "powerline",
"type": "cftarget"
}

Opciones

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

Plantilla (info)

plantilla predeterminada
{{if .Org }}{{ .Org }}{{ end }}{{ if .Space }}/{{ .Space }}{{ end }}

Propiedades

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