Function: tramp-kubernetes--context-namespace

tramp-kubernetes--context-namespace is an autoloaded and byte-compiled function defined in tramp-container.el.gz.

Signature

(tramp-kubernetes--context-namespace VEC)

Documentation

The kubectl options for context and namespace as string.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-container.el.gz
;;;###tramp-autoload
(defun tramp-kubernetes--context-namespace (vec)
  "The kubectl options for context and namespace as string."
  (mapconcat
   #'identity
   `(,(when-let* ((context (tramp-kubernetes--current-context vec)))
	(format "--context=%s" context))
     ,(when tramp-kubernetes-namespace
	(format "--namespace=%s" tramp-kubernetes-namespace)))
   " "))