From: Eshel Yaron Date: Wed, 24 Jul 2024 17:47:33 +0000 (+0200) Subject: kubed.el: Add some commentary X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=195e364e4a3732c01d37d749d9bb83e757126104;p=emacs.git kubed.el: Add some commentary --- diff --git a/lisp/net/kubed.el b/lisp/net/kubed.el index 280979b6f42..e54f54d8fee 100644 --- a/lisp/net/kubed.el +++ b/lisp/net/kubed.el @@ -37,6 +37,11 @@ ;; `kubed-set-namespace'; all resource lists are updated automatically ;; after you do so. In addition, you can use the minor mode ;; `kubed-all-namespaces-mode' to see resources from all namespaces. +;; The prefix keymap `kubed-prefix-map' gives you quick access to these +;; and other useful commands. You may want to bind it to a convenient +;; key in your global keymap with `keymap-global-set': +;; +;; (keymap-global-set "C-c k" 'kubed-prefix-map) ;; ;; If you want to work with more or different types of Kubernetes ;; resources, use the macro `kubed-define-resource'. This macro defines @@ -831,6 +836,7 @@ Optional argument DEFAULT is the minibuffer default argument." resource) ;; all subsequent operations in that buffer are outside the ;; scope of the let-binding and thus use the wrong namespace. ;; Ideally, we'd like to hardcode the namespace into filename. + ;; There's work in progress towards enabling that in bug#59797. (let ((tramp-kubernetes-namespace k8sns)) (dired (concat "/kubernetes:" pod ":")))) (shell "s" "Start shell in home directory of first container of"