Skip to content

PR #209

PR #209 #455

Triggered via dynamic October 13, 2024 17:51
Status Success
Total duration 3m 38s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Analyze (go)
cannot use r.secretWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasMigration{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasMigration{}).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
cannot use r.configMapWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasMigration{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasMigration{}).Watches(&corev1.Secret{}, r.secretWatcher).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
cannot use r.configMapWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasSchema{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasSchema{}).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
cannot use r.secretWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasSchema{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasSchema{}).Watches(&corev1.ConfigMap{}, r.configMapWatcher).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
unknown field Interface in struct literal of type controllertest.TypedQueue[reconcile.Request]
Analyze (go)
cannot use r.secretWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasMigration{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasMigration{}).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
cannot use r.secretWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasMigration{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasMigration{}).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
cannot use r.configMapWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasMigration{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasMigration{}).Watches(&corev1.Secret{}, r.secretWatcher).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
cannot use r.configMapWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasSchema{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasSchema{}).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)
Analyze (go)
cannot use r.secretWatcher (variable of type *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher) as handler.TypedEventHandler[client.Object, reconcile.Request] value in argument to ctrl.NewControllerManagedBy(mgr).For(&dbv1alpha1.AtlasSchema{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).Owns(&dbv1alpha1.AtlasSchema{}).Watches(&corev1.ConfigMap{}, r.configMapWatcher).Watches: *"github.com/ariga/atlas-operator/internal/controller/watch".ResourceWatcher does not implement handler.TypedEventHandler[client.Object, reconcile.Request] (wrong type for method Create)