Skip to content

api: define API for MultiClusterService #13359

api: define API for MultiClusterService

api: define API for MultiClusterService #13359

Triggered via pull request November 23, 2023 12:48
Status Failure
Total duration 5m 38s
Artifacts

ci.yml

on: pull_request
unit test
0s
unit test
Matrix: e2e test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
lint: cmd/webhook/app/webhook.go#L49
could not import github.com/karmada-io/karmada/pkg/webhook/multiclusterservice (-: # github.com/karmada-io/karmada/pkg/webhook/multiclusterservice
lint: pkg/webhook/multiclusterservice/validating.go#L107
mcs.Spec.ServiceProviders undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceProviders)
lint: pkg/webhook/multiclusterservice/validating.go#L109
mcs.Spec.ServiceProviders undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceProviders)
lint: pkg/webhook/multiclusterservice/validating.go#L116
mcs.Spec.ServiceConsumers undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceConsumers)
lint: pkg/webhook/multiclusterservice/validating.go#L118
mcs.Spec.ServiceConsumers undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceConsumers)) (typecheck)
lint: pkg/webhook/multiclusterservice/validating.go#L107
mcs.Spec.ServiceProviders undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceProviders)
lint: pkg/webhook/multiclusterservice/validating.go#L109
mcs.Spec.ServiceProviders undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceProviders)
lint: pkg/webhook/multiclusterservice/validating.go#L116
mcs.Spec.ServiceConsumers undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceConsumers)
lint: pkg/webhook/multiclusterservice/validating.go#L118
mcs.Spec.ServiceConsumers undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceConsumers)
lint: pkg/webhook/multiclusterservice/validating_test.go#L56
unknown field ServiceProviders in struct literal of type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec
compile: pkg/webhook/multiclusterservice/validating.go#L107
mcs.Spec.ServiceProviders undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceProviders)
compile: pkg/webhook/multiclusterservice/validating.go#L109
mcs.Spec.ServiceProviders undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceProviders)
compile: pkg/webhook/multiclusterservice/validating.go#L116
mcs.Spec.ServiceConsumers undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceConsumers)
compile: pkg/webhook/multiclusterservice/validating.go#L118
mcs.Spec.ServiceConsumers undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServiceConsumers)
compile
Process completed with exit code 2.