1 //go:build tools 2 // +build tools 3 4 /* 5 Copyright 2019 The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // This package imports things required by build scripts and test packages of submodules, to force `go mod` to see them as dependencies 21 package tools 22 23 import ( 24 // build script dependencies 25 _ "github.com/onsi/ginkgo/v2/ginkgo" 26 _ "k8s.io/code-generator/cmd/deepcopy-gen" 27 _ "k8s.io/code-generator/cmd/defaulter-gen" 28 _ "k8s.io/code-generator/cmd/go-to-protobuf" 29 _ "k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo" 30 _ "k8s.io/kube-openapi/cmd/openapi-gen" 31 32 // submodule test dependencies 33 _ "github.com/armon/go-socks5" // for staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go 34 ) 35