Skip to content

✨ WIP: Cluster Provider and cluster-aware controllers #2813

✨ WIP: Cluster Provider and cluster-aware controllers

✨ WIP: Cluster Provider and cluster-aware controllers #2813

Triggered via pull request May 28, 2024 13:06
Status Failure
Total duration 2m 19s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/builder/controller_test.go#L571
undefined: cluster.WatchEvent
lint: pkg/builder/controller_test.go#L573
cannot use adapter (variable of type *fakeClusterProvider) as cluster.Provider value in struct literal: *fakeClusterProvider does not implement cluster.Provider (wrong type for method Get)
lint: pkg/builder/controller_test.go#L844
undefined: cluster.WatchEvent
lint: pkg/builder/controller_test.go#L855
undefined: cluster.Watcher
lint: pkg/builder/controller_test.go#L860
undefined: cluster.WatchEvent
lint: pkg/builder/controller_test.go#L866
undefined: cluster.WatchEvent (typecheck)
lint: pkg/builder/example_test.go#L28
could not import sigs.k8s.io/controller-runtime/pkg/builder (-: # sigs.k8s.io/controller-runtime/pkg/builder [sigs.k8s.io/controller-runtime/pkg/builder.test]
lint: pkg/builder/controller_test.go#L571
undefined: cluster.WatchEvent
lint: pkg/builder/controller_test.go#L573
cannot use adapter (variable of type *fakeClusterProvider) as cluster.Provider value in struct literal: *fakeClusterProvider does not implement cluster.Provider (wrong type for method Get)
lint: pkg/builder/controller_test.go#L844
undefined: cluster.WatchEvent