* Migrate the mocking library to uber's (#291)
* Migrate from golang/mock to uber/mock.
* Update go.mod
* Continue migration to uber/mock.
* Tweaks from running the go.uber.mock's mockgen.
* go generate ./...
---------
Co-authored-by: Eric Promislow <epromislow@suse.com>
Fixes two bugs with the schema definitions:
- Adds resources that are a part of the baseSchema (but aren't k8s resources).
- Adds logic to handle resources which aren't in a prefered version, but
are still in some version.
In the original implementation of the definition handler, the resource
list was checked for preferred version, and this overrode the preferred
version of the overall group. However, this logic was inaccurate and
did not use the group as the source of truth on the preferred version
like it should have.