Skip to content

PR #407

PR #407 #100

Triggered via dynamic October 11, 2024 03:34
Status Success
Total duration 3m 29s
Artifacts

codeql

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

Annotations

9 errors
Analyze (go)
cannot use i.Informer (variable of type "k8s.io/client-go/tools/cache".SharedIndexInformer) as Informer value in return statement: "k8s.io/client-go/tools/cache".SharedIndexInformer does not implement Informer (wrong type for method AddEventHandler)
Analyze (go)
cannot use i.Informer (variable of type "k8s.io/client-go/tools/cache".SharedIndexInformer) as Informer value in return statement: "k8s.io/client-go/tools/cache".SharedIndexInformer does not implement Informer (wrong type for method AddEventHandler)
Analyze (go)
cannot use i.Informer (variable of type "k8s.io/client-go/tools/cache".SharedIndexInformer) as Informer value in return statement: "k8s.io/client-go/tools/cache".SharedIndexInformer does not implement Informer (wrong type for method AddEventHandler)
Analyze (go)
cannot use i.Informer (variable of type "k8s.io/client-go/tools/cache".SharedIndexInformer) as Informer value in return statement: "k8s.io/client-go/tools/cache".SharedIndexInformer does not implement Informer (wrong type for method AddEventHandler)
Analyze (go)
cannot use EventHandler{} (value of type EventHandler) as "k8s.io/client-go/tools/cache".ResourceEventHandler value in variable declaration: EventHandler does not implement "k8s.io/client-go/tools/cache".ResourceEventHandler (wrong type for method OnAdd)
Analyze (go)
cannot use internal.EventHandler{…} (value of type "sigs.k8s.io/controller-runtime/pkg/source/internal".EventHandler) as "k8s.io/client-go/tools/cache".ResourceEventHandler value in argument to i.AddEventHandler: "sigs.k8s.io/controller-runtime/pkg/source/internal".EventHandler does not implement "k8s.io/client-go/tools/cache".ResourceEventHandler (wrong type for method OnAdd)
Analyze (go)
cannot use internal.EventHandler{…} (value of type "sigs.k8s.io/controller-runtime/pkg/source/internal".EventHandler) as "k8s.io/client-go/tools/cache".ResourceEventHandler value in argument to is.Informer.AddEventHandler: "sigs.k8s.io/controller-runtime/pkg/source/internal".EventHandler does not implement "k8s.io/client-go/tools/cache".ResourceEventHandler (wrong type for method OnAdd)
Analyze (go)
cannot use pvcResources(crd, name, dataSources[i], existingSize) (value of type "k8s.io/api/core/v1".ResourceRequirements) as "k8s.io/api/core/v1".VolumeResourceRequirements value in struct literal
Analyze (go)
cannot use corev1.ResourceRequirements{…} (value of type "k8s.io/api/core/v1".ResourceRequirements) as "k8s.io/api/core/v1".VolumeResourceRequirements value in struct literal