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
2020-09-23 21:25:01 +02:00

34 lines
939 B
EmacsLisp

;;; packages.el --- kubernetes layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2020 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))