chore: go module
This commit is contained in:
parent
f327b7b499
commit
4c5e7a238d
276 changed files with 1555 additions and 738 deletions
|
@ -3,6 +3,10 @@
|
|||
HACK_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export HACK_DIR
|
||||
REPO_ROOT=${HACK_DIR}/..
|
||||
|
||||
rm -rf "${REPO_ROOT}"/vendor
|
||||
go mod vendor
|
||||
chmod +x "${REPO_ROOT}"/vendor/k8s.io/code-generator/*.sh
|
||||
|
||||
"${REPO_ROOT}"/vendor/k8s.io/code-generator/generate-groups.sh \
|
||||
all \
|
||||
github.com/containous/traefik/pkg/provider/kubernetes/crd/generated \
|
||||
|
@ -16,3 +20,5 @@ deepcopy-gen \
|
|||
--input-dirs github.com/containous/traefik/pkg/tls \
|
||||
--input-dirs github.com/containous/traefik/pkg/types \
|
||||
-O zz_generated.deepcopy --go-header-file "${HACK_DIR}"/boilerplate.go.tmpl
|
||||
|
||||
rm -rf "${REPO_ROOT}"/vendor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue