]> git.eshelyaron.com Git - emacs.git/commit
Extend Tramp kubernetes method
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 23 Jun 2023 19:26:14 +0000 (21:26 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 23 Jun 2023 19:26:14 +0000 (21:26 +0200)
commit77c2f05d773271cb59ebfd994b06a4075cacbfa8
tree44840ebc7831e8041c464f61fe094df95ed0a4b5
parent1c499c18afd6a709272fe60a540a27093e589fff
Extend Tramp kubernetes method

* doc/misc/tramp.texi (Inline methods): Adapt kubernetes method.

* etc/NEWS: Describe changes in Tramp kubernetes method.

* lisp/net/tramp-container.el (tramp-kubernetes-context)
(tramp-kubernetes-namespace): New defcustoms.
(tramp-kubernetes--completion-function): Extend for CONTAINER.POD
syntax.
(tramp-kubernetes--host-name-regexp): New defconst.
(tramp-kubernetes--container, tramp-kubernetes--pod)
(tramp-kubernetes--current-context): New defuns.
(tramp-kubernetes--current-context-data): Simplify.
(tramp-kubernetes--context-namespace): New defun.
(tramp-methods) <kubernetes>: Respect container, context and
namespace.  (Bug#59797)
(tramp-container-connection-local-default-kubernetes-variables):
New defconst.  Set respective connection-local variables.

* lisp/net/tramp-sh.el (tramp-config-check): New variable.
(tramp-open-connection-setup-interactive-shell): Use it.

* lisp/net/tramp.el (tramp-methods): Adapt docstring.
(tramp-extra-expand-args): New defvar.
(tramp-expand-args): Use it.
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-container.el
lisp/net/tramp-sh.el
lisp/net/tramp.el