This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/kubernetes/packages.el
John Practicalli Stevenson e38c33feb0 [applications] refactor key bindings to tools
refactor key bindings for packages under +layers/tools

Relates to #13503
2020-06-24 22:43:30 +02:00

34 lines
939 B
EmacsLisp

;;; packages.el --- kubernetes layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
;;
;; Author: Matt Bray <mattjbray@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;;; Code:
(defconst kubernetes-packages
'(
kubernetes
kubernetes-evil
kubernetes-tramp))
(defun kubernetes/init-kubernetes ()
(use-package kubernetes
:defer t
;; Autoload for 'kubernetes-overview is defined in "kubernetes-overview.el".
;; Add an autoload for the whole 'kubernetes package when kubernetes-overview is called.
:commands (kubernetes-overview)
:init (spacemacs/set-leader-keys "atk" 'kubernetes-overview)))
(defun kubernetes/init-kubernetes-evil ()
(use-package kubernetes-evil
:after kubernetes-overview))
(defun kubernetes/init-kubernetes-tramp ()
(use-package kubernetes-tramp
:defer t))