Skip to content

Mocks don't match current controller-runtime package #363

Closed as not planned
@steeling

Description

@steeling

What happened:

pkg/test/mocks/manager.go isn't up to date with the controller-runtime package marked in go.mod

What you expected to happen:

pkg/test/mocks/manager.go.Manager should implement the controller-runtime Manager interface that it is supposed to mock.

How to reproduce it (as minimally and precisely as possible):

Attempt to use NewValidator

Anything else we need to know?:

var _ manager.Manager = &Manager{} line 48 in pkg/test/mocks/manager.go doesn't compile

Environment:

  • Kubernetes version (use kubectl version):
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Go version (e.g. go version):
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions