build: upgrade kubebuilder scaffolding to 4.3.1 #599
Annotations
10 errors
Run golangci-lint:
api/kuik/v1alpha1/cachedimage_types.go#L91
cannot use &CachedImage{} (value of type *CachedImage) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *CachedImage does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
|
Run golangci-lint:
api/kuik/v1alpha1/cachedimage_types.go#L91
cannot use &CachedImageList{} (value of type *CachedImageList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *CachedImageList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
|
Run golangci-lint:
api/kuik/v1alpha1/cachedimage_utils.go#L30
cannot use &repository (value of type *Repository) as "sigs.k8s.io/controller-runtime/pkg/client".Object value in argument to apiReader.Get: *Repository does not implement "sigs.k8s.io/controller-runtime/pkg/client".Object (missing method DeepCopyObject)
|
Run golangci-lint:
api/kuik/v1alpha1/repository_types.go#L63
cannot use &Repository{} (value of type *Repository) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *Repository does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
|
Run golangci-lint:
api/kuik/v1alpha1/repository_types.go#L63
cannot use &RepositoryList{} (value of type *RepositoryList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *RepositoryList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject) (typecheck)
|
Run golangci-lint:
internal/controller/collector.go#L7
could not import github.com/enix/kube-image-keeper/api/kuik/v1alpha1 (-: # github.com/enix/kube-image-keeper/api/kuik/v1alpha1
|
Run golangci-lint:
api/kuik/v1alpha1/cachedimage_types.go#L91
cannot use &CachedImage{} (value of type *CachedImage) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *CachedImage does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
|
Run golangci-lint:
api/kuik/v1alpha1/cachedimage_types.go#L91
cannot use &CachedImageList{} (value of type *CachedImageList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *CachedImageList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
|
Run golangci-lint:
api/kuik/v1alpha1/cachedimage_utils.go#L30
cannot use &repository (value of type *Repository) as "sigs.k8s.io/controller-runtime/pkg/client".Object value in argument to apiReader.Get: *Repository does not implement "sigs.k8s.io/controller-runtime/pkg/client".Object (missing method DeepCopyObject)
|
Run golangci-lint:
api/kuik/v1alpha1/repository_types.go#L63
cannot use &Repository{} (value of type *Repository) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *Repository does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
|
Loading