Skip to content

add pkg/runtime/resourceconfig.ResourceConfig #2106

add pkg/runtime/resourceconfig.ResourceConfig

add pkg/runtime/resourceconfig.ResourceConfig #2106

Triggered via pull request June 19, 2024 08:39
Status Failure
Total duration 3m 10s
Artifacts

ci.yml

on: pull_request
Vertify import alias, vendor, codegen, crds
52s
Vertify import alias, vendor, codegen, crds
Lint with golangci-lint
24s
Lint with golangci-lint
Unit test
0s
Unit test
E2e test
0s
E2e test
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 1 warning
Lint with golangci-lint: cmd/clustersynchro-manager/app/config/config.go#L9
could not import github.com/clusterpedia-io/clusterpedia/pkg/kube_state_metrics (-: # github.com/clusterpedia-io/clusterpedia/pkg/kube_state_metrics
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L34
config.StorageGroupResource undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method StorageGroupResource)
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L34
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L108
config.StorageGroupResource undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method StorageGroupResource)
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L108
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L137
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L141
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)) (typecheck)
Lint with golangci-lint: cmd/clustersynchro-manager/app/options/options.go#L25
could not import github.com/clusterpedia-io/clusterpedia/pkg/kube_state_metrics (-: # github.com/clusterpedia-io/clusterpedia/pkg/kube_state_metrics
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L34
config.StorageGroupResource undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method StorageGroupResource)
Lint with golangci-lint: pkg/kube_state_metrics/metrics_store.go#L34
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Build: pkg/kube_state_metrics/metrics_store.go#L34
config.StorageGroupResource undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method StorageGroupResource)
Build: pkg/kube_state_metrics/metrics_store.go#L34
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Build: pkg/kube_state_metrics/metrics_store.go#L108
config.StorageGroupResource undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method StorageGroupResource)
Build: pkg/kube_state_metrics/metrics_store.go#L108
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Build: pkg/kube_state_metrics/metrics_store.go#L137
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Build: pkg/kube_state_metrics/metrics_store.go#L141
config.MemoryVersion undefined (type *"github.com/clusterpedia-io/clusterpedia/pkg/storage".ResourceStorageConfig has no field or method MemoryVersion)
Build
Process completed with exit code 2.
Vertify import alias, vendor, codegen, crds
Restore cache failed: Dependencies file is not found in /home/runner/work/clusterpedia/clusterpedia. Supported file pattern: go.sum