From 5d976676584d11602d45cccc5bc3c752ad343403 Mon Sep 17 00:00:00 2001 From: Injun Song Date: Wed, 28 Feb 2024 13:27:41 +0900 Subject: [PATCH] ci: bump go.uber.org/mock/mockgen from v0.3.0 to v0.4.0 --- Makefile | 2 +- internal/admin/mrmanager/manager_mock.go | 1 + internal/admin/replica_selector_mock.go | 1 + internal/admin/snmanager/manager_mock.go | 1 + internal/admin/snwatcher/snwatcher_mock.go | 1 + internal/admin/stats/repository_mock.go | 1 + internal/reportcommitter/client_mock.go | 1 + internal/storagenode/client/management_client_mock.go | 1 + pkg/mrc/metadata_repository_client_mock.go | 1 + pkg/mrc/metadata_repository_management_client_mock.go | 1 + pkg/varlog/admin_mock.go | 1 + pkg/varlog/log_mock.go | 1 + pkg/varlog/log_stream_appender_mock.go | 1 + pkg/varlog/metadata_refresher_mock.go | 1 + pkg/varlog/replicas_retriever_mock.go | 1 + proto/admpb/admin_mock.go | 1 + proto/mrpb/mock/mrpb_mock.go | 1 + proto/snpb/mock/snpb_mock.go | 1 + 18 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1f9f133d3..12cbdd7fb 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ generate-check: tools: $(GO) install golang.org/x/tools/cmd/goimports@latest $(GO) install golang.org/x/lint/golint@latest - $(GO) install go.uber.org/mock/mockgen@v0.3.0 + $(GO) install go.uber.org/mock/mockgen@v0.4.0 fmt: @echo goimports diff --git a/internal/admin/mrmanager/manager_mock.go b/internal/admin/mrmanager/manager_mock.go index f65647c5b..a6913b557 100644 --- a/internal/admin/mrmanager/manager_mock.go +++ b/internal/admin/mrmanager/manager_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/internal/admin/mrmanager -package mrmanager -destination manager_mock.go . ClusterMetadataView,MetadataRepositoryManager // + // Package mrmanager is a generated GoMock package. package mrmanager diff --git a/internal/admin/replica_selector_mock.go b/internal/admin/replica_selector_mock.go index ef32d27cb..13931dfb4 100644 --- a/internal/admin/replica_selector_mock.go +++ b/internal/admin/replica_selector_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/internal/admin -package admin -destination replica_selector_mock.go . ReplicaSelector // + // Package admin is a generated GoMock package. package admin diff --git a/internal/admin/snmanager/manager_mock.go b/internal/admin/snmanager/manager_mock.go index 61d9016a9..e5d7dc0ab 100644 --- a/internal/admin/snmanager/manager_mock.go +++ b/internal/admin/snmanager/manager_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/internal/admin/snmanager -package snmanager -destination manager_mock.go . StorageNodeManager // + // Package snmanager is a generated GoMock package. package snmanager diff --git a/internal/admin/snwatcher/snwatcher_mock.go b/internal/admin/snwatcher/snwatcher_mock.go index 6089b3dfa..122d69035 100644 --- a/internal/admin/snwatcher/snwatcher_mock.go +++ b/internal/admin/snwatcher/snwatcher_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/internal/admin/snwatcher -package snwatcher -destination snwatcher_mock.go . EventHandler // + // Package snwatcher is a generated GoMock package. package snwatcher diff --git a/internal/admin/stats/repository_mock.go b/internal/admin/stats/repository_mock.go index 600c566ff..b793a29f5 100644 --- a/internal/admin/stats/repository_mock.go +++ b/internal/admin/stats/repository_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/internal/admin/stats -package stats -destination repository_mock.go . Repository // + // Package stats is a generated GoMock package. package stats diff --git a/internal/reportcommitter/client_mock.go b/internal/reportcommitter/client_mock.go index fd8a269b5..d1f65e0f5 100644 --- a/internal/reportcommitter/client_mock.go +++ b/internal/reportcommitter/client_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/internal/reportcommitter -package reportcommitter -destination client_mock.go . Client // + // Package reportcommitter is a generated GoMock package. package reportcommitter diff --git a/internal/storagenode/client/management_client_mock.go b/internal/storagenode/client/management_client_mock.go index 67983f4c3..3e4cd2f39 100644 --- a/internal/storagenode/client/management_client_mock.go +++ b/internal/storagenode/client/management_client_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/internal/storagenode/client -package client -destination management_client_mock.go . StorageNodeManagementClient // + // Package client is a generated GoMock package. package client diff --git a/pkg/mrc/metadata_repository_client_mock.go b/pkg/mrc/metadata_repository_client_mock.go index 11fcd8dbb..510b40219 100644 --- a/pkg/mrc/metadata_repository_client_mock.go +++ b/pkg/mrc/metadata_repository_client_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/pkg/mrc -package mrc -destination metadata_repository_client_mock.go . MetadataRepositoryClient // + // Package mrc is a generated GoMock package. package mrc diff --git a/pkg/mrc/metadata_repository_management_client_mock.go b/pkg/mrc/metadata_repository_management_client_mock.go index 52a88237a..a57237078 100644 --- a/pkg/mrc/metadata_repository_management_client_mock.go +++ b/pkg/mrc/metadata_repository_management_client_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/pkg/mrc -package mrc -destination metadata_repository_management_client_mock.go . MetadataRepositoryManagementClient // + // Package mrc is a generated GoMock package. package mrc diff --git a/pkg/varlog/admin_mock.go b/pkg/varlog/admin_mock.go index 8ef5eadff..066dc1a3f 100644 --- a/pkg/varlog/admin_mock.go +++ b/pkg/varlog/admin_mock.go @@ -5,6 +5,7 @@ // // mockgen -package varlog -destination admin_mock.go . Admin // + // Package varlog is a generated GoMock package. package varlog diff --git a/pkg/varlog/log_mock.go b/pkg/varlog/log_mock.go index 80cf0517f..94d29cda2 100644 --- a/pkg/varlog/log_mock.go +++ b/pkg/varlog/log_mock.go @@ -5,6 +5,7 @@ // // mockgen -package varlog -destination log_mock.go . Log // + // Package varlog is a generated GoMock package. package varlog diff --git a/pkg/varlog/log_stream_appender_mock.go b/pkg/varlog/log_stream_appender_mock.go index 1a84f9fab..02d1f9ebc 100644 --- a/pkg/varlog/log_stream_appender_mock.go +++ b/pkg/varlog/log_stream_appender_mock.go @@ -5,6 +5,7 @@ // // mockgen -package varlog -destination log_stream_appender_mock.go . LogStreamAppender // + // Package varlog is a generated GoMock package. package varlog diff --git a/pkg/varlog/metadata_refresher_mock.go b/pkg/varlog/metadata_refresher_mock.go index b1622f74d..ad16614a2 100644 --- a/pkg/varlog/metadata_refresher_mock.go +++ b/pkg/varlog/metadata_refresher_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/pkg/varlog -package varlog -destination metadata_refresher_mock.go . MetadataRefresher // + // Package varlog is a generated GoMock package. package varlog diff --git a/pkg/varlog/replicas_retriever_mock.go b/pkg/varlog/replicas_retriever_mock.go index 243d6ed26..498185951 100644 --- a/pkg/varlog/replicas_retriever_mock.go +++ b/pkg/varlog/replicas_retriever_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -self_package github.com/kakao/varlog/pkg/varlog -package varlog -destination replicas_retriever_mock.go . ReplicasRetriever,RenewableReplicasRetriever // + // Package varlog is a generated GoMock package. package varlog diff --git a/proto/admpb/admin_mock.go b/proto/admpb/admin_mock.go index 1fd725dde..b79808aef 100644 --- a/proto/admpb/admin_mock.go +++ b/proto/admpb/admin_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -package admpb -destination admin_mock.go . ClusterManagerClient,ClusterManagerServer // + // Package admpb is a generated GoMock package. package admpb diff --git a/proto/mrpb/mock/mrpb_mock.go b/proto/mrpb/mock/mrpb_mock.go index 8232eab91..105fd38a3 100644 --- a/proto/mrpb/mock/mrpb_mock.go +++ b/proto/mrpb/mock/mrpb_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -package mock -destination mock/mrpb_mock.go . ManagementClient,ManagementServer,MetadataRepositoryServiceClient,MetadataRepositoryServiceServer // + // Package mock is a generated GoMock package. package mock diff --git a/proto/snpb/mock/snpb_mock.go b/proto/snpb/mock/snpb_mock.go index 068b8e9fe..8f8850654 100644 --- a/proto/snpb/mock/snpb_mock.go +++ b/proto/snpb/mock/snpb_mock.go @@ -5,6 +5,7 @@ // // mockgen -build_flags -mod=vendor -package mock -destination mock/snpb_mock.go . ReplicatorClient,ReplicatorServer,Replicator_ReplicateClient,LogIOClient,LogIOServer,LogIO_AppendClient,LogIO_SubscribeClient,LogIO_SubscribeServer,LogStreamReporterClient,LogStreamReporterServer,ManagementClient,ManagementServer // + // Package mock is a generated GoMock package. package mock