Skip to content

Commit 2d77c07

Browse files
upkeep: oppgradert mockery, kan nå kjøres
Co-authored-by: Carl Hedgren <[email protected]>
1 parent 2440d4d commit 2d77c07

File tree

10 files changed

+78
-14
lines changed

10 files changed

+78
-14
lines changed

.mockery.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ dir: "{{.InterfaceDir}}"
44
mockname: "{{.Mock}}{{.InterfaceName}}"
55
outpkg: "{{.PackageName}}"
66
filename: "mock_{{.InterfaceName | snakecase}}.go"
7+
resolve-type-alias: False
8+
issue-845-fix: True
79
all: True
810
packages:
911
github.com/nais/aivenator:

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
K8S_VERSION := 1.24.2
1+
K8S_VERSION := 1.30.1
22
arch := amd64
33
os := $(shell uname -s | tr '[:upper:]' '[:lower:]')
44
testbin_dir := ./.testbin/
@@ -15,7 +15,7 @@ check:
1515
go run golang.org/x/vuln/cmd/govulncheck ./...
1616

1717
mocks:
18-
go run github.com/vektra/mockery/v2
18+
go run github.com/vektra/mockery/v2@v2.51.1
1919

2020
integration_test: kubebuilder
2121
echo "*** Make sure to set the environment AIVEN_TOKEN to a valid token ***"

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ github.com/Code-Hex/go-generics-cache v1.5.1 h1:6vhZGc5M7Y/YD8cIUcY8kcuQLB4cHR7U
44
github.com/Code-Hex/go-generics-cache v1.5.1/go.mod h1:qxcC9kRVrct9rHeiYpFWSoW1vxyillCVzX13KZG8dl4=
55
github.com/aiven/aiven-go-client v1.36.0 h1:AUuldvYdk2b9wu4v7L9qx01d6ZB5VckiMgRW37yxZVE=
66
github.com/aiven/aiven-go-client v1.36.0/go.mod h1:3Hh1PDNcqNNCYrkU/jSAHMV/b/ynoy73fwhBPKnMe6I=
7-
github.com/aiven/aiven-go-client/v2 v2.33.0 h1:7hsM3/2lVog/P9ls/gLeba5feNVQjK8rIL+lbxD2GB4=
8-
github.com/aiven/aiven-go-client/v2 v2.33.0/go.mod h1:qXBgER0dtjJa1V3l7kzpizuAGjFCkgahhHL5OpoM2ZM=
97
github.com/aiven/aiven-go-client/v2 v2.34.0 h1:Iq3GZVoqrAPb4XcA3pJVL8MpRtiXep+LYA7y6aoi5xQ=
108
github.com/aiven/aiven-go-client/v2 v2.34.0/go.mod h1:qXBgER0dtjJa1V3l7kzpizuAGjFCkgahhHL5OpoM2ZM=
119
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=

pkg/aiven/opensearch/mock_acl_manager.go

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/aiven/project/mock_project_manager.go

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/aiven/service/mock_service_manager.go

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/aiven/serviceuser/mock_service_user_manager.go

+19-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/certificate/mock_generator.go

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/credentials/mock_client.go

+18-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/credentials/mock_handler.go

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)