kubernetes/hack/tools
Stephen Kitt 3f36c83c68
Switch to stretchr/testify / mockery for mocks
testify is used throughout the codebase; this switches mocks from
gomock to testify with the help of mockery for code generation.

Handlers and mocks in test/utils/oidc are moved to a new package:
mockery operates package by package, and requires packages to build
correctly; test/utils/oidc/testserver.go relies on the mocks and fails
to build when they are removed. Moving the interface and mocks to a
different package allows mockery to process that package without
having to build testserver.go.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-06-20 19:42:53 +02:00
..
ncpu Set GOMAXPROCS explicitly 2023-03-30 20:26:07 -04:00
.gitignore Ignore go.work.sum for fake workspaces 2024-05-16 13:52:36 -04:00
go.mod Switch to stretchr/testify / mockery for mocks 2024-06-20 19:42:53 +02:00
go.sum Switch to stretchr/testify / mockery for mocks 2024-06-20 19:42:53 +02:00
go.work Generate go.work files 2024-02-29 00:22:06 -08:00
README.md Remove hack/tools/Makefile 2022-02-26 12:57:10 -08:00
tools.go Switch to stretchr/testify / mockery for mocks 2024-06-20 19:42:53 +02:00

This directory contains a stub go module used to track version of development tools like the ones needed for linting go sources.