feat: InformerManager and FederatedInformerManager #530
Annotations
15 errors and 10 warnings
test (1.20):
pkg/controllers/override/util.go#L29
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
|
test (1.20)
Process completed with exit code 2.
|
typos
Process completed with exit code 2.
|
test (1.19):
pkg/controllers/override/util.go#L29
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
|
test (1.19)
Process completed with exit code 2.
|
lint:
pkg/util/informermanager/federatedinformermanager_test.go#L105
cannot use nil as ClusterClientGetter value in argument to NewFederatedInformerManager (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L156
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L160
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L251
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L255
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L347
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L516
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L520
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L639
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
lint:
pkg/util/informermanager/informermanager_test.go#L643
cannot use (func(ftc *fedcorev1a1.FederatedTypeConfig) bool literal) (value of type func(ftc *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool) as func(lastApplied *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig, latest *"github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1".FederatedTypeConfig) bool value in struct literal (typecheck)
|
typos:
docs/quickstart.md#L6
"propgating" should be "propagating".
|
typos:
pkg/util/informermanager/federatedinformermanager_test.go#L80
"boostrap" should be "bootstrap".
|
typos:
pkg/util/informermanager/interface.go#L63
"maintian" should be "maintain".
|
typos:
pkg/util/informermanager/federatedinformermanager.go#L141
"connetion" should be "connection".
|
typos:
pkg/util/informermanager/informermanager_test.go#L36
"boostrap" should be "bootstrap".
|
typos:
pkg/util/informermanager/informermanager_test.go#L77
"avialable" should be "available".
|
typos:
pkg/util/informermanager/informermanager_test.go#L83
"boostrap" should be "bootstrap".
|
typos:
pkg/util/informermanager/informermanager_test.go#L146
"boostrap" should be "bootstrap".
|
typos:
pkg/util/informermanager/informermanager_test.go#L241
"boostrap" should be "bootstrap".
|
typos:
pkg/util/informermanager/informermanager_test.go#L329
"environemnt" should be "environment".
|