Rainbond/hack/k8s/codegen/update-generated.sh
2021-04-29 15:56:34 +08:00

14 lines
340 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
vendor/k8s.io/code-generator/generate-groups.sh \
"defaulter,client,lister,informer" \
"github.com/goodrain/rainbond/pkg/generated" \
"github.com/goodrain/rainbond/pkg/apis" \
"rainbond:v1alpha1" \
--go-header-file "./hack/k8s/codegen/boilerplate.go.txt" \
$@