From fdba0ca538a1b66a937f386b8f88d67032199d5f Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Mon, 4 Nov 2024 12:00:05 +0530 Subject: [PATCH] Bump latest `KUSTOMIZE`, `MOCKGEN` and `GOIMPORTS` tools --- Makefile | 6 +++--- pkg/utils/mount/mock_mountutils_unix.go | 2 ++ pkg/utils/os/mock_osutils_unix.go | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7683dd8..7edb45e 100755 --- a/Makefile +++ b/Makefile @@ -111,10 +111,10 @@ MOCKGEN ?= $(LOCALBIN)/mockgen GOLANGCI_LINT ?= $(LOCALBIN)/golangci-lint ## Tool Versions -KUSTOMIZE_VERSION ?= v5.0.0 +KUSTOMIZE_VERSION ?= v5.5.0 ADDLICENSE_VERSION ?= v1.1.1 -MOCKGEN_VERSION ?= v0.4.0 -GOIMPORTS_VERSION ?= v0.25.0 +MOCKGEN_VERSION ?= v0.5.0 +GOIMPORTS_VERSION ?= v0.26.0 GOLANGCI_LINT_VERSION ?= v1.61.0 KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" diff --git a/pkg/utils/mount/mock_mountutils_unix.go b/pkg/utils/mount/mock_mountutils_unix.go index d2e0b50..b8dda57 100644 --- a/pkg/utils/mount/mock_mountutils_unix.go +++ b/pkg/utils/mount/mock_mountutils_unix.go @@ -25,6 +25,7 @@ type MockMountWrapper struct { mount.Interface ctrl *gomock.Controller recorder *MockMountWrapperMockRecorder + isgomock struct{} } // MockMountWrapperMockRecorder is the mock recorder for MockMountWrapper. @@ -221,6 +222,7 @@ func (mr *MockMountWrapperMockRecorder) Unmount(target any) *gomock.Call { type MockResizefs struct { ctrl *gomock.Controller recorder *MockResizefsMockRecorder + isgomock struct{} } // MockResizefsMockRecorder is the mock recorder for MockResizefs. diff --git a/pkg/utils/os/mock_osutils_unix.go b/pkg/utils/os/mock_osutils_unix.go index c4c349b..e64558c 100644 --- a/pkg/utils/os/mock_osutils_unix.go +++ b/pkg/utils/os/mock_osutils_unix.go @@ -26,6 +26,7 @@ import ( type MockOSWrapper struct { ctrl *gomock.Controller recorder *MockOSWrapperMockRecorder + isgomock struct{} } // MockOSWrapperMockRecorder is the mock recorder for MockOSWrapper.