Skip to content

Commit

Permalink
removing duplicate kubel-open function
Browse files Browse the repository at this point in the history
  • Loading branch information
abrochard committed Jan 24, 2024
1 parent 679dc27 commit f6f7df5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions kubel.el
Original file line number Diff line number Diff line change
Expand Up @@ -1267,19 +1267,6 @@ When called interactively, prompts for a buffer belonging to kubel."
map)
"Keymap for `kubel-mode'.")

;;;###autoload
(defun kubel-open (context &optional namespace resource directory)
"Open kubel pointing to CONTEXT and NAMESPACE.
NAMEPACE is optional, will default to \"default\".
RESOURCE is optional, will default to pods.
DIRECTORY is optional for TRAMP support."
(setq kubel-context context)
(setq kubel-namespace (or namespace "default"))
(setq kubel-resource (or resource "Pods"))
(kubel directory))


(defun kubel--current-state ()
"Show in the Echo Area the current context, namespace, and resource."
(message (concat
Expand Down

0 comments on commit f6f7df5

Please sign in to comment.