Skip to content

Commit

Permalink
app-admin/kubectx: Initial version
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
mrueg committed Feb 20, 2018
1 parent 4e1d810 commit 94bceff
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-admin/kubectx/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST kubectx-0.4.0_p20180118.tar.gz 398084 BLAKE2B fda8cae93e221fc4732b7cedbd44465541cdd7f31b29fbbfde781ea34b2c2d644ad6735d6bf7fa1ebcf04cc2b9dc3ac8e883808cd04c8a256b004a3293cee240 SHA512 04123596724dfc4dacc0beb578c716a3909d98d7df7dbf3c1439b5bb29ac14ea7b366be3e2252550ed89474c58ce83b028af79b0cd288f1ecd62c6c3f2729f62
32 changes: 32 additions & 0 deletions app-admin/kubectx/kubectx-0.4.0_p20180118.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit vcs-snapshot bash-completion-r1

COMMIT="b2992aa0df9143c25d64843b3ee40fbcd7332f07"

DESCRIPTION="Fast way to switch between clusters and namespaces in kubectl"
HOMEPAGE="https://github.com/ahmetb/kubectx"
SRC_URI="https://github.com/ahmetb/kubectx/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="sys-cluster/kubectl"

src_install() {
insinto /usr/include
doins utils.bash
dobin kubectx kubens

insinto /usr/share/zsh/site-functions
newins completion/kubectx.zsh _kubectx
newins completion/kubens.zsh _kubens

newbashcomp completion/kubectx.bash kubectx
newbashcomp completion/kubens.bash kubens
}
11 changes: 11 additions & 0 deletions app-admin/kubectx/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Manuel Rüger</name>
</maintainer>
<upstream>
<remote-id type="github">ahmetb/kubectx</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 94bceff

Please sign in to comment.