Private/Providers/Kubernetes.ps1
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '')] $ProviderKubernetes = { param($Context) $result = [TooltipDto]::new() $result.Text = kubectl config current-context $result.Text = [char]0xfd31 + " " + $result.Text $result.ForegroundColor = [System.ConsoleColor]::Magenta $result.BackgroundColor = [System.ConsoleColor]::Black return $result } |