Remove dangling shell functions

This commit is contained in:
Joonas Bergius
2017-10-09 22:46:30 -06:00
parent d97c759110
commit 0c9725d563
2 changed files with 0 additions and 84 deletions

View File

@@ -249,20 +249,6 @@ kube::golang::host_platform() {
echo "$(go env GOHOSTOS)/$(go env GOHOSTARCH)"
}
kube::golang::current_platform() {
local os="${GOOS-}"
if [[ -z $os ]]; then
os=$(go env GOHOSTOS)
fi
local arch="${GOARCH-}"
if [[ -z $arch ]]; then
arch=$(go env GOHOSTARCH)
fi
echo "$os/$arch"
}
# Takes the platform name ($1) and sets the appropriate golang env variables
# for that platform.
kube::golang::set_platform_envs() {