Skip to content

Commit 1d1d96a

Browse files
Bump go.uber.org/mock from 0.2.0 to 0.3.0 (#292)
* Bump go.uber.org/mock from 0.2.0 to 0.3.0 Bumps [go.uber.org/mock](https://github.com/uber/mock) from 0.2.0 to 0.3.0. - [Release notes](https://github.com/uber/mock/releases) - [Changelog](https://github.com/uber-go/mock/blob/main/CHANGELOG.md) - [Commits](uber-go/mock@v0.2.0...v0.3.0) --- updated-dependencies: - dependency-name: go.uber.org/mock dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump mockgen, addlicense and goimports --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andreas Fritzler <andreas.fritzler@sap.com>
1 parent 4ae3448 commit 1d1d96a

File tree

7 files changed

+55
-39
lines changed

7 files changed

+55
-39
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ GOIMPORTS ?= $(LOCALBIN)/goimports
7171
MOCKGEN ?= $(LOCALBIN)/mockgen
7272

7373
## Tool Versions
74-
ADDLICENSE_VERSION ?= v1.1.0
75-
GOIMPORTS_VERSION ?= v0.5.0
76-
MOCKGEN_VERSION ?= v0.2.0
74+
ADDLICENSE_VERSION ?= v1.1.1
75+
GOIMPORTS_VERSION ?= v0.13.0
76+
MOCKGEN_VERSION ?= v0.3.0
7777

7878
.PHONY: addlicense
7979
addlicense: $(ADDLICENSE) ## Download addlicense locally if necessary.
@@ -86,6 +86,6 @@ $(GOIMPORTS): $(LOCALBIN)
8686
test -s $(LOCALBIN)/goimports || GOBIN=$(LOCALBIN) go install golang.org/x/tools/cmd/goimports@$(GOIMPORTS_VERSION)
8787

8888
.PHONY: mockgen
89-
mockgen: $(MOCKGEN)
89+
mockgen: $(MOCKGEN) ## Download mockgen locally if necessary.
9090
$(MOCKGEN): $(LOCALBIN)
9191
test -s $(LOCALBIN)/mockgen || GOBIN=$(LOCALBIN) go install go.uber.org/mock/mockgen@$(MOCKGEN_VERSION)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/onsi/gomega v1.27.10
88
github.com/spf13/pflag v1.0.5
99
github.com/stretchr/testify v1.8.4
10-
go.uber.org/mock v0.2.0
10+
go.uber.org/mock v0.3.0
1111
k8s.io/api v0.28.2
1212
k8s.io/apiextensions-apiserver v0.28.2
1313
k8s.io/apimachinery v0.28.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI
281281
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 h1:+FNtrFTmVw0YZGpBGX56XDee331t6JAXeK2bcyhLOOc=
282282
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o=
283283
go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
284-
go.uber.org/mock v0.2.0 h1:TaP3xedm7JaAgScZO7tlvlKrqT0p7I6OsdGB5YNSMDU=
285-
go.uber.org/mock v0.2.0/go.mod h1:J0y0rp9L3xiff1+ZBfKxlC1fz2+aO16tw0tsDOixfuM=
284+
go.uber.org/mock v0.3.0 h1:3mUxI1No2/60yUYax92Pt8eNOEecx2D3lcXZh2NEZJo=
285+
go.uber.org/mock v0.3.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
286286
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
287287
go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c=
288288
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=

mock/controller-runtime/client/funcs.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mock/controller-runtime/client/mocks.go

Lines changed: 30 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mock/controller-utils/clientutils/mocks.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mock/controller-utils/metautils/funcs.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)