From e165676e4945d9ed4bfa174460218b1065252f69 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 23 Aug 2024 17:26:51 +0200 Subject: [PATCH] ; Fix spelling of "Kubernetes" in a few places * NEWS.org * kubed-transient.el * kubed.el: Fix typos. --- NEWS.org | 2 +- kubed-transient.el | 2 +- kubed.el | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/NEWS.org b/NEWS.org index fdad6ed..a1a8b6a 100644 --- a/NEWS.org +++ b/NEWS.org @@ -29,7 +29,7 @@ forwarding a local port to a pod in the Kubed pods buffer. ** Improved Tramp integration. Kubed now uses a bespoke Tramp method to open Dired and Shell buffers -inside Kuberenetes pods. The main advantage of this method is the +inside Kubernetes pods. The main advantage of this method is the ability to work with multiple ~kubectl~ contexts simultaneously. This method requires Tramp 2.7 or later, Kubed will complain if you try to start remote Dired or Shell with an earlier Tramp version. diff --git a/kubed-transient.el b/kubed-transient.el index ea204fc..60e519c 100644 --- a/kubed-transient.el +++ b/kubed-transient.el @@ -73,7 +73,7 @@ Return an RFC3339 string representation of the selected date." ("!" "Command line" kubed-kubectl-command)]]) (defmacro kubed-transient-logs-for-resource (resource &optional plural) - "Define transient menu for showing logs for Kuberenetes RESOURCE. + "Define transient menu for showing logs for Kubernetes RESOURCE. Optional argument PLURAL is the plural form of RESOURCE. If nil, it defaults to \"RESOURCEs\"." diff --git a/kubed.el b/kubed.el index 5925b12..cab9eff 100644 --- a/kubed.el +++ b/kubed.el @@ -12,16 +12,16 @@ ;;; Commentary: ;; This library defines commands for interacting with Kubernetes -;; resources, such as Kuberenetes pods, services, deployments, and more. +;; resources, such as Kubernetes pods, services, deployments, and more. ;; -;; Use `kubed-display-pod' to display a Kuberenetes pod, +;; Use `kubed-display-pod' to display a Kubernetes pod, ;; `kubed-edit-pod' to edit it, `kubed-delete-pods' to delete it, and ;; `kubed-list-pods' to see a menu of all pods. You can create new pods ;; from YAML or JSON files with `kubed-create-pod'. ;; ;; Similar commands are defined for other types of resources as well. ;; -;; This library interacts with Kuberenetes via `kubectl', and uses the +;; This library interacts with Kubernetes via `kubectl', and uses the ;; current `kubectl' context and namespace by default. To change your ;; current context or namespace, use commands `kubed-use-context' and ;; `kubed-set-namespace' respectively; you can also interact with @@ -187,7 +187,7 @@ the namespace of the resource, or nil if TYPE is not namespaced.") (put 'kubed-display-resource-info 'permanent-local t) (defun kubed-display-resource-revert (&optional _ _) - "Clear and populate current Kuberenetes resource buffer." + "Clear and populate current Kubernetes resource buffer." (seq-let (type name context namespace) kubed-display-resource-info (let ((inhibit-read-only t) @@ -364,7 +364,7 @@ prompt for CONTEXT as well." The first argument, SYMBOL, is ignored. You can use this function as the `completion-predicate' property of commands that you define that -should only be available in buffers that display Kuberenetes resources." +should only be available in buffers that display Kubernetes resources." (buffer-local-value 'kubed-display-resource-mode buffer)) (dolist (cmd '(kubed-display-resource-jump-to-list @@ -379,7 +379,7 @@ should only be available in buffers that display Kuberenetes resources." "C-c C-c" #'kubed-display-resource-replace) (define-minor-mode kubed-display-resource-mode - "Minor mode for buffers that display a Kuberenetes resource." + "Minor mode for buffers that display a Kubernetes resource." :interactive nil :lighter " Kubed" (when kubed-display-resource-mode @@ -1451,7 +1451,7 @@ a prefix argument \\[universal-argument], prompt for CONTEXT too." `((defun ,logs-cmd ( ,resource &optional context namespace container follow limit prefix since tail timestamps) - ,(format "Show logs for Kuberenetes %S %s." + ,(format "Show logs for Kubernetes %S %s." resource (upcase (symbol-name resource))) (interactive (let ( ,resource context namespace @@ -3128,7 +3128,7 @@ resource types." (when context (list (concat "--context=" context))))))) (defun kubed-resource-names (type context &optional namespace) - "Return list of Kuberenetes resources of type TYPE in NAMESPACE via CONTEXT." + "Return list of Kubernetes resources of type TYPE in NAMESPACE via CONTEXT." (unless (kubed--alist type context namespace) (let ((proc (kubed-update type context namespace))) (while (process-live-p proc) -- 2.39.2