Files
kserve/hack/tools.go
SivananthamandGitHub 50867304c5 Bump Go to 1.22 (#3912)
* Bump go 1.22

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Update generate scripts

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Fix breaking changes

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Fix deepcopy, client generation and bump controller-gen to 0.16.2

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* generate files

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Bump go version for CI and dockerfiles

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Bump go version for qpext

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Use slices.Contains

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Remove clientv1alpha1 dir

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Fix lint

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* go mod tidy

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* set min go version to 1.22.7

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

---------

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
2024-09-11 09:06:17 -04:00

28 lines
827 B
Go

//go:build tools
/*
Copyright 2022 The KServe Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package hack
import (
_ "k8s.io/code-generator/cmd/client-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"
)