Function: tramp-kubernetes--container
tramp-kubernetes--container is an autoloaded and byte-compiled
function defined in tramp-container.el.gz.
Signature
(tramp-kubernetes--container VEC)
Documentation
Extract the container name from a kubernetes host name in VEC.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-container.el.gz
;;;###tramp-autoload
(defun tramp-kubernetes--container (vec)
"Extract the container name from a kubernetes host name in VEC."
(or (let ((host (tramp-file-name-host vec)))
(and (string-match tramp-kubernetes--host-name-regexp host)
(match-string 1 host)))
""))