From: Eshel Yaron Date: Sun, 28 Jul 2024 19:49:15 +0000 (+0200) Subject: * kubed.el (service): Add useful resource properties X-Git-Tag: v0.2.0~42 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c5c03e90243c4dbaa87faef81215fb38f008fa02;p=kubed.git * kubed.el (service): Add useful resource properties --- diff --git a/kubed.el b/kubed.el index 4dbf281..0bf9d60 100644 --- a/kubed.el +++ b/kubed.el @@ -964,7 +964,12 @@ Optional argument DEFAULT is the minibuffer default argument." resource) ;;;###autoload (autoload 'kubed-list-services "kubed" nil t) ;;;###autoload (autoload 'kubed-create-service "kubed" nil t) ;;;###autoload (autoload 'kubed-service-prefix-map "kubed" nil t 'keymap) -(kubed-define-resource service) +(kubed-define-resource service + ((type ".spec.type" 12) + (clusterip ".spec.clusterIP" 16) + (externalip ".spec.externalIPs[*]" 16) + (ports ".spec.ports[*].port" 6) + (creationtimestamp ".metadata.creationTimestamp" 20))) ;;;###autoload (autoload 'kubed-display-secret "kubed" nil t) ;;;###autoload (autoload 'kubed-edit-secret "kubed" nil t)