]> git.eshelyaron.com Git - emacs.git/commit
Make "kubernetes" multi-hop completion capable in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 16 Sep 2023 18:35:35 +0000 (20:35 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 16 Sep 2023 18:35:35 +0000 (20:35 +0200)
commitf0f4cbfe8760bb04f9676c31020642acdcb03b16
treee51c53fd779d3c06798bb024c5388c7b9f2e3445
parentbe70f4ab0e2dabf0ae7519bae8197b1e5f315f54
Make "kubernetes" multi-hop completion capable in Tramp

* lisp/net/tramp-container.el (tramp-skeleton-completion-function):
New defmacro.
(tramp-container--completion-function): Use it.
(tramp-kubernetes--completion-function): Use METHOD as argument.
Use `tramp-skeleton-completion-function'.
(tramp-skeleton-kubernetes-vector): New defmacro.
(tramp-kubernetes--current-context)
(tramp-kubernetes--current-context-data): Use it.
(tramp-completion-multi-hop-methods): Add "kubernetes".
lisp/net/tramp-container.el