Skip to content

feat: InformerManager and FederatedInformerManager #530

feat: InformerManager and FederatedInformerManager

feat: InformerManager and FederatedInformerManager #530

Triggered via pull request July 7, 2023 11:08
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

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

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".