diff options
author | Dan Molik <dan@danmolik.com> | 2019-10-19 08:11:19 -0400 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-10-23 22:52:52 +0200 |
commit | 3edfd542777749cc9554dc1db0072f524aff7724 (patch) | |
tree | cef0b945cdb60b752156d388dbd586017e33be5f /dev-util | |
parent | dev-db/etcd: Version bump to 3.4.3 (diff) | |
download | gentoo-3edfd542777749cc9554dc1db0072f524aff7724.tar.gz gentoo-3edfd542777749cc9554dc1db0072f524aff7724.tar.bz2 gentoo-3edfd542777749cc9554dc1db0072f524aff7724.zip |
dev-util/kubebuilder: new package (2.0.2)
Kubebuilder is a CLI Tool to generate scaffolding for kubernetes
operators.
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Dan Molik <dan@danmolik.com>
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/kubebuilder/Manifest | 13 | ||||
-rw-r--r-- | dev-util/kubebuilder/kubebuilder-2.0.1.ebuild | 43 | ||||
-rw-r--r-- | dev-util/kubebuilder/metadata.xml | 37 |
3 files changed, 93 insertions, 0 deletions
diff --git a/dev-util/kubebuilder/Manifest b/dev-util/kubebuilder/Manifest new file mode 100644 index 000000000000..aba671a591e6 --- /dev/null +++ b/dev-util/kubebuilder/Manifest @@ -0,0 +1,13 @@ +DIST github.com-go-yaml-yaml-v2.2.2.tar.gz 70656 BLAKE2B 750d1135eb73dd1eaa08f86294227973fc465ea6212233596253e5385e2081f4576123b7fbd96bfbdcdec4d1171d78c04835d7fbaa4b4e69dabdc3da10bba1de SHA512 210b36f9cc4205f91041e0da08b8eae6afbb9f44fc036bf578223da52a74ee21fa60caa569efbb5b8262e2b885ff13efa68705cbefdf93a1d05b2378d95620e8 +DIST github.com-gobuffalo-flect-v0.1.5.tar.gz 17787 BLAKE2B 0a389b0deacc7dcda74fac4dda8c99d586849f9824e4e0518fe4a42c52c8cc9388862b98cdae9700515c299e6e927edd013fcfdeba84e48aa14702f664edc964 SHA512 f13dc8c7511c2943b2a85994fcd50c1df44e622f23c2402a2d616edb52ed3916ab433f7985951ba6988647eef1816932144ffad89bc35195360a3a552bf6b276 +DIST github.com-golang-net-3b0461eec859c4b73bb64fdc8285971fd33e3938.tar.gz 1099680 BLAKE2B 989a8d6c9166696bef1aff398acc8cd1e41e1240c5c113be030c80355cdf96eaa6d5f231c99f2c44d8eacf199579804c59fc45f999862bc4bf057b694841c8dc SHA512 5e42e26ac17f52d6408b63eebd740bedc5a78b8023b675688d7b39b20afa53b34ffde764b693828143483c8f5450180f6a00e9eb28b8f3f6e14303cc4cd7c62b +DIST github.com-golang-protobuf-v1.3.1.tar.gz 310884 BLAKE2B 704efef653d39b4954798537e7451d15dd1d913c67d1332ffc016b396b028a0dd03487765a89b0bc5f920b75cf4f51be79a8da9d3291e0f02873c47601360080 SHA512 7dfc6d7851c7181e1a73effe9e8a97752bb428bf207a44b065412a8e87e0e3e200b5eef3d8c68af33a0721d12a8b98bfa88b22add074b19b6e1759e9268abf25 +DIST github.com-golang-sys-d432491b91382bba9c2a91776aa47c9430183a6f.tar.gz 1448871 BLAKE2B 08763852d5fe0af14a48f00044398dae153392750a1fdfeb6238143e76debc15de6e54ab14984677f199a6875320d037a3124aaea0d0a7f2e4f19963daf50c19 SHA512 f337b115e8975a3ba0ca12c68d203a5223734bc204d617d90ea124e348a26f97a81ae493f537cf3f87b3a732fa5cfba6fcfad2225ee8b4129667eedf86dc1507 +DIST github.com-golang-text-v0.3.2.tar.gz 7168069 BLAKE2B c2412f4554e2a50fe0764c24cd52a0799d526cb78952839fa1c031c43e7c34a58f6c65d2e450a0ddd0447d5f749aa5104dd47dca5a2c4964e3dd6e2eb39313c3 SHA512 48156313c3ae4c01ea3a8b790ae829f50f2a53ea9ad7c14509749405da5cb7c98e6e1a2e9f3619e01393935d452b5b5e568b29719cd1f286570272d59508da58 +DIST github.com-golang-tools-58d531046acdc757f177387bc1725bfa79895d69.tar.gz 2271817 BLAKE2B b78f38a435a84e40b9b33e677f72cec39b57e1d85b7cfb90c52ec3c5d4ec8ed8051c3c6ff088ac5561643934cb3a93e21d6f0ad24dd4c01013b9b21ddb608ae0 SHA512 5bca07ccf8cb996c9051e43a9f54327f955a81da3add116bcdc55c82d1addf0d2dd9ced3c2f4d8af1921ea14ef8f41ba4f08220809ad1cacf4a617c9a115f252 +DIST github.com-onsi-ginkgo-v1.8.0.tar.gz 133392 BLAKE2B 42105f337a583d1d07554e07a13ac141edbe6bfa7c04a2a83c9ee49eff3f7b5b9b9acb35d824d33045cd991876f03457f8271a6eb3d493fd9288b23a1f07e704 SHA512 ed8a21d07c63dff1291a3ea0413dd5168f54738630bc0ebe1938765f3e0cd5d41e01f3836e401d3c2c96770281506440bbaf83d745a6c5b3be4cb5cde84f3d9f +DIST github.com-onsi-gomega-v1.5.0.tar.gz 88642 BLAKE2B de8a842d9cd48d11f5f0df905bdeabf37d6467ffb3d8e4f30f160061e00452d5e5fb63384fcd64b83de69106859a89cb9de3667624a5db2853b9bd95f31bbd0f SHA512 96420cc6fca24ad8144bdf207a702c67f9787be6fee041875e22fc8762b257649b54be5f4e926a2b0b2e52bc0ffa1f3297d0db39c8668dea5ccb1c0d9240df41 +DIST github.com-spf13-afero-v1.2.2.tar.gz 46157 BLAKE2B c9cfe5ce721a9992b775f82521f769fb79c67743db499540bfc5ca371f2f927c715d3ca11a1231180f56c3dd6a844a69ceb3b84b33a37ee348f3e39fafd29df4 SHA512 6b4b39ed3f8c537069cdf26840f21ad15807621ad494c78ba6c376de3994842730282a7517a3c5f7919402a3ee06a5cc6988a34207a531b16933b403c1635ee7 +DIST github.com-spf13-cobra-v0.0.3.tar.gz 101526 BLAKE2B 8613eccdd5bbd31429b7aa8260ee9367e34a5cc78075b394b09db91a97445ed1dadfb53a86105b55cb6ea3b4c2f9d50553e9198d64dfb6033dd1db2805984a2c SHA512 c38db9432a168f913b41a1e1b11d84bedfade82ff70791be9d343a6cc86b8a05b18bae344d67ebd8bae4c98662db7ac664a9dc86fa9b9ad4aa5c96cbf0178efb +DIST github.com-spf13-pflag-v1.0.3.tar.gz 46002 BLAKE2B b7caa90be69c7bb6a36b0da68af309debee6edd6e2596d39e286ebdb10f9f90246736f3af3a35c89ac704e2764d2ac40e76dad09c3147a942200592e3d234916 SHA512 d7121dade4fc06568cfb650a529dda350c60171e97ca405d29b9654a9fd06e453d20f8efc2fd8c51f530cfb0708648b2b2ba06ab40897b262ef2f3baf04d65a7 +DIST kubebuilder-2.0.1.tar.gz 1371557 BLAKE2B fcefc068a9aa3e84d9fc394bb0cb1e99bc535c3a0b627de52f3cfe482f4ea209ca2a5e318520560ef297b95e4b4cccb1b8cb2eba008f1febfc97516f0e12313a SHA512 9a031971edb8df2c498e55e5282cdb4feef130f1be767222ee643e8beb601314255e93b312403846b1bbb84a841b6f027e633371f5ce5615aeda75564d1404f7 diff --git a/dev-util/kubebuilder/kubebuilder-2.0.1.ebuild b/dev-util/kubebuilder/kubebuilder-2.0.1.ebuild new file mode 100644 index 000000000000..14af483330be --- /dev/null +++ b/dev-util/kubebuilder/kubebuilder-2.0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +DESCRIPTION="SDK for building Kubernetes APIs using CRDs" +HOMEPAGE="https://book.kubebuilder.io" + +EGO_VENDOR=( + "github.com/gobuffalo/flect v0.1.5" + "github.com/golang/protobuf v1.3.1" + "github.com/onsi/ginkgo v1.8.0" + "github.com/onsi/gomega v1.5.0" + "github.com/spf13/afero v1.2.2" + "github.com/spf13/cobra v0.0.3" + "github.com/spf13/pflag v1.0.3" + "golang.org/x/net 3b0461eec859c4b73bb64fdc8285971fd33e3938 github.com/golang/net" + "golang.org/x/sys d432491b91382bba9c2a91776aa47c9430183a6f github.com/golang/sys" + "golang.org/x/text v0.3.2 github.com/golang/text" + "golang.org/x/tools 58d531046acdc757f177387bc1725bfa79895d69 github.com/golang/tools" + "gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml" +) + +SRC_URI="https://github.com/kubernetes-sigs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + $(go-module_vendor_uris)" + +LICENSE="Apache-2.0 BSD-4 ECL-2.0 JSON MIT" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( {DESIGN,README}.md ) + +src_compile() { + GOCACHE="${T}/go-cache" go build \ + -o "bin/${PN}" ./cmd || die +} + +src_install() { + dobin bin/kubebuilder + einstalldocs +} diff --git a/dev-util/kubebuilder/metadata.xml b/dev-util/kubebuilder/metadata.xml new file mode 100644 index 000000000000..f9f79039d30d --- /dev/null +++ b/dev-util/kubebuilder/metadata.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dan@danmolik.com</email> + <name>Dan Molik</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + Building Kubernetes tools and APIs involves making a lot of decisions + and writing a lot of boilerplate. + + In order to facilitate easily building Kubernetes APIs and tools using + the canonical approach, this framework provides a collection of + Kubernetes development tools to minimize toil. + + Kubebuilder attempts to facilitate the following developer workflow for + building APIs + + - Create a new project directory + - Create one or more resource APIs as CRDs and then add fields to the + resources + - Implement reconcile loops in controllers and watch additional resources + - Test by running against a cluster (self-installs CRDs and starts + controllers automatically) + - Update bootstrapped integration tests to test new fields and business + logic + - Build and publish a container from the provided Dockerfile + </longdescription> + <upstream> + <changelog>https://github.com/kubernetes-sigs/kubebuilder/releases</changelog> + <remote-id type="github">kubernetes-sigs/kubebuilder</remote-id> + </upstream> +</pkgmetadata> |