# ROOT_PACKAGE :: the package (relative to $GOPATH/src) that is the target for code generation ROOT_PACKAGE="github.com/actionscore/actions" # retrieve the code-generator scripts and bins go get -u k8s.io/code-generator/... cd $GOPATH/src/k8s.io/code-generator # run the code-generator entrypoint script ./generate-groups.sh all "$ROOT_PACKAGE/pkg/client" "$ROOT_PACKAGE/pkg/apis" "components:v1alpha1 configuration:v1alpha1"