]> git.eshelyaron.com Git - kubed.git/log
kubed.git
7 weeks ago; README.md: Add figure showing help for resource fields
Eshel Yaron [Mon, 29 Jul 2024 15:21:31 +0000 (17:21 +0200)]
; README.md: Add figure showing help for resource fields

7 weeks agoNew command 'kubed-cronjobs-toggle-suspension'
Eshel Yaron [Mon, 29 Jul 2024 14:57:13 +0000 (16:57 +0200)]
New command 'kubed-cronjobs-toggle-suspension'

* kubed.el (kubed-cronjob-suspended-p): New function.
(kubed-cronjobs-toggle-suspension): New command.

7 weeks agoNew commands for patching resources
Eshel Yaron [Mon, 29 Jul 2024 14:50:59 +0000 (16:50 +0200)]
New commands for patching resources

* kubed-transient.el (kubed-transient-patch): New command.
(kubed-transient): Bind it.
(kubed-transient-apply): Fix capitalization.
* kubed.el (kubed-patch-history): New variable.
(kubed-read-patch): New function.
(kubed-patch): New command.
(kubed-prefix-map): Bind it.
(kubed-define-resource): Add 'kubed-RESOURCEs-patch'
commands that patch the resource at point/mouse in resource
list buffers.

7 weeks agoAdd argument SILENT to 'kubed-update-RESOURCEs' commands
Eshel Yaron [Mon, 29 Jul 2024 14:45:08 +0000 (16:45 +0200)]
Add argument SILENT to 'kubed-update-RESOURCEs' commands

* kubed.el (kubed-define-resource): Add optional argument
SILENT to generated 'kubed-update-RESOURCEs' commands.  Use
it when update is triggered by user initiated operation.

7 weeks agoAdd general resource-reading functions
Eshel Yaron [Mon, 29 Jul 2024 14:40:43 +0000 (16:40 +0200)]
Add general resource-reading functions

* kubed.el (kubed-api-resources, kubed-resource-names)
(kubed-read-resource-name, kubed-read-resource-type):
New functions.
(kubed-define-resource): Use new 'kubed-resource-names' to
read resource name in different namespace.
(kubed-read-resource-field): Use new 'kubed-api-resources'.

7 weeks ago; (kubed-read-resource-field): Pass DEFAULT 'completing-read'.
Eshel Yaron [Mon, 29 Jul 2024 14:36:25 +0000 (16:36 +0200)]
; (kubed-read-resource-field): Pass DEFAULT 'completing-read'.

7 weeks ago; Teach Imenu about 'kubed-define-resource'
Eshel Yaron [Mon, 29 Jul 2024 14:35:47 +0000 (16:35 +0200)]
; Teach Imenu about 'kubed-define-resource'

7 weeks agoExtend resource name reading functions with namespace arg
Eshel Yaron [Mon, 29 Jul 2024 13:03:16 +0000 (15:03 +0200)]
Extend resource name reading functions with namespace arg

* kubed.el (kubed-define-resource): Add optional namespace
argument to 'kubed-read-RESOURCE' functions.
(kubed-attach, kubed-exec): Use it when reading name of pod
in another namespace.

7 weeks ago; Fix 'kubed-kubectl-command' error when 'transient' is not loaded
Eshel Yaron [Mon, 29 Jul 2024 10:33:54 +0000 (12:33 +0200)]
; Fix 'kubed-kubectl-command' error when 'transient' is not loaded

7 weeks ago; README.md: Add figure showing pods context menu.
Eshel Yaron [Mon, 29 Jul 2024 07:42:22 +0000 (09:42 +0200)]
; README.md: Add figure showing pods context menu.

7 weeks agoAdd context menus to resource list buffers
Eshel Yaron [Mon, 29 Jul 2024 06:34:30 +0000 (08:34 +0200)]
Add context menus to resource list buffers

* kubed.el (kubed-define-resource): Also generate
'kubed-RESOURCE-context-menu' function for each RESOURCE,
and add it to 'context-menu-functions' in list buffers.

7 weeks ago; Don't generate extra nils for non-namespaced resources
Eshel Yaron [Mon, 29 Jul 2024 06:17:14 +0000 (08:17 +0200)]
; Don't generate extra nils for non-namespaced resources

* kubed.el (kubed-define-resource): Improve code generation
for non-namespaced resources.

7 weeks agoImprove compatibility with Emacs 29
Eshel Yaron [Sun, 28 Jul 2024 19:56:19 +0000 (21:56 +0200)]
Improve compatibility with Emacs 29

* kubed.el (tramp-kubernetes-namespace): Remove declaration.
(kubed--static-if): New macro.  Compatibility definition of
'static-if' from Emacs 30.
(kubed-pods-dired, kubed-pods-shell): Do not rely on
explicit Kubernetes namespace in remote file name syntax in
Emacs versions earlier than 31.
(kubed-define-resource): Use 'emacsclient-program-name' only
in Emacs 30 or later.

7 weeks ago* kubed.el (deployment): Add useful resource properties
Eshel Yaron [Sun, 28 Jul 2024 19:49:58 +0000 (21:49 +0200)]
* kubed.el (deployment): Add useful resource properties

7 weeks ago* kubed.el (service): Add useful resource properties
Eshel Yaron [Sun, 28 Jul 2024 19:49:15 +0000 (21:49 +0200)]
* kubed.el (service): Add useful resource properties

7 weeks ago; * kubed.el: Silence warning about 'cobra-read-command-line'.
Eshel Yaron [Sun, 28 Jul 2024 13:51:44 +0000 (15:51 +0200)]
; * kubed.el: Silence warning about 'cobra-read-command-line'.

7 weeks ago; Update .gitignore
Eshel Yaron [Sun, 28 Jul 2024 13:43:13 +0000 (15:43 +0200)]
; Update .gitignore

7 weeks ago; * kubed.texi (Usage): Populate with a few words.
Eshel Yaron [Sun, 28 Jul 2024 13:38:57 +0000 (15:38 +0200)]
; * kubed.texi (Usage): Populate with a few words.

7 weeks ago; * kubed.texi (Getting Started): Fix itemization
Eshel Yaron [Sun, 28 Jul 2024 11:07:23 +0000 (13:07 +0200)]
; * kubed.texi (Getting Started): Fix itemization

7 weeks ago; * README.md (Getting Started): Fix typo
Eshel Yaron [Sun, 28 Jul 2024 10:46:29 +0000 (12:46 +0200)]
; * README.md (Getting Started): Fix typo

7 weeks agoInitial commit
Eshel Yaron [Sun, 28 Jul 2024 10:16:03 +0000 (12:16 +0200)]
Initial commit