-
Notifications
You must be signed in to change notification settings - Fork 7
/
tools.go
21 lines (18 loc) · 825 Bytes
/
tools.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//go:build tools
// +build tools
// Official workaround to track tool dependencies with go modules:
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
package tools
import (
_ "github.com/daixiang0/gci" // dependency of hack/go-fmt.sh
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
// dependency of generating CRD for install-config
_ "k8s.io/code-generator" // TODO: Investigate why scripts in this directory are removed and not vendored by go mod.
_ "k8s.io/code-generator/cmd/client-gen"
_ "k8s.io/code-generator/cmd/conversion-gen"
_ "k8s.io/code-generator/cmd/deepcopy-gen"
_ "k8s.io/code-generator/cmd/defaulter-gen"
_ "k8s.io/code-generator/cmd/informer-gen"
_ "k8s.io/code-generator/cmd/lister-gen"
_ "sigs.k8s.io/controller-tools/cmd/controller-gen"
)