mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
generate: update mockery to latest version
In order to be able to run it on Go v1.18.
This commit is contained in:
parent
676d14688c
commit
b7658c25fd
5 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
FROM golang:1.18-buster as builder
|
||||
|
||||
# Install tools
|
||||
RUN go install github.com/vektra/mockery@v1.0.0 && \
|
||||
RUN go install github.com/vektra/mockery/v2@v2.13.0 && \
|
||||
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.7.0 && \
|
||||
git clone https://github.com/kubernetes/code-generator -b v0.20.7 --depth 1 && \
|
||||
go install k8s.io/code-generator/cmd/...@v0.20.7 && \
|
||||
|
|
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||
|
||||
package apihelper
|
||||
|
||||
//go:generate mockery --name=APIHelpers --inpkg
|
||||
//go:generate mockery --name=APIHelpers --inpackage
|
||||
|
||||
import (
|
||||
topologyclientset "github.com/k8stopologyawareschedwg/noderesourcetopology-api/pkg/generated/clientset/versioned"
|
||||
|
|
|
@ -17,4 +17,4 @@ limitations under the License.
|
|||
package labeler
|
||||
|
||||
//go:generate protoc --go_opt=paths=source_relative --go_out=plugins=grpc:. -I . -I ../.. -I ../../vendor labeler.proto
|
||||
//go:generate mockery --name=LabelerClient --inpkg
|
||||
//go:generate mockery --name=LabelerClient --inpackage
|
||||
|
|
|
@ -17,4 +17,4 @@ limitations under the License.
|
|||
package topologyupdater
|
||||
|
||||
//go:generate protoc --go_opt=paths=source_relative --go_out=plugins=grpc:. -I . -I ../../vendor/ topology-updater.proto
|
||||
//go:generate mockery --name=NodeTopologyClient --inpkg
|
||||
//go:generate mockery --name=NodeTopologyClient --inpackage
|
||||
|
|
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||
|
||||
package source
|
||||
|
||||
//go:generate mockery --name=LabelSource --inpkg
|
||||
//go:generate mockery --name=LabelSource --inpackage
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
Loading…
Reference in a new issue