Contexto de Talosctl
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 el nombre del contexto activo actual de Talosctl.
Este segmento utiliza el archivo .talos/config generado por la CLI de Talosctl.
La documentación de la CLI se puede encontrar en Documentación > Referencia > CLI.
Por ejemplo, CLI v1.7.
Configuración de ejemplo
- json
- yaml
- toml
{
"type": "talosctl",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#FFFFFF",
"background": "#FF6C00",
"template": " {{ .Context }}"
}
type: talosctl
style: powerline
powerline_symbol:
foreground: "#FFFFFF"
background: "#FF6C00"
template: " {{ .Context }}"
type = "talosctl"
style = "powerline"
powerline_symbol = ""
foreground = "#FFFFFF"
background = "#FF6C00"
template = " {{ .Context }}"
Plantilla (info)
plantilla predeterminada
{{ .Context }}
Propiedades
| Name | Type | Description |
|---|---|---|
.Context | string | the current talosctl context |