]> git.eshelyaron.com Git - kubed.git/commit
Support bookmarking Kubernetes resource buffers
authorEshel Yaron <me@eshelyaron.com>
Fri, 2 Aug 2024 20:00:28 +0000 (22:00 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 3 Aug 2024 05:52:34 +0000 (07:52 +0200)
commit0e2c7c7dd973596a42b39abd9c43ce86086d9898
tree4c54933c55cf529591e4146b05330b69dd59e6b6
parentfe844378f0d6c202a663300660d27e46e83c8bc1
Support bookmarking Kubernetes resource buffers

* kubed.el (kubed-display-resource-info): New variable.
(kubed-display-resource-revert)
(kubed-display-resource-in-buffer)
(kubed-display-resource-handle-bookmark)
(kubed-display-resource-make-bookmark): New functions.
(kubed-display-resource-mode): New minor mode, enabled in
buffers that display resources in YAML format.
(kubed-define-resource): Use 'kubed-display-resource-in-buffer'
in definition of generated 'kubed-RESOURCE-description-buffer'.
kubed.el