Install this version:
emerge -a =app-admin/openshift-client-linux-4.22.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-admin/openshift-client-linux-4.22.1
Or alternatively:
emerge --autounmask-write -a =app-admin/openshift-client-linux-4.22.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.22.1 | 8 | ~amd64 | 0 |
# Copyright 1999-2022 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1
DESCRIPTION="Conformance test suite for OpenShift"
HOMEPAGE="https://github.com/openshift/origin https://www.openshift.org/"
SRC_URI="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${PV}/${PN}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="bash-completion kubectl"
DEPEND="dev-lang/go"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}"
src_install() {
dobin "oc"
use kubectl && dobin "kubectl"
cd "${S}"
./oc completion bash > oc_completion
./kubectl completion bash > kubectl_completion
newbashcomp oc_completion oc
newbashcomp kubectl_completion kubectl
}
Manage flags for this package:
euse -i <flag> -p app-admin/openshift-client-linux |
euse -E <flag> -p app-admin/openshift-client-linux |
euse -D <flag> -p app-admin/openshift-client-linux
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | openshift-client-linux-4.22.1.tar.gz | 43494131 bytes | https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.22.1/openshift-client-linux.tar.gz |