Fetch detailed pod resource usage and requets #411
Annotations
10 errors and 1 warning
golangci-lint:
api/applications/applications_controller_test.go#L94
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L138
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L158
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L178
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L262
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L347
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L446
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L521
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization)
|
golangci-lint:
api/applications/applications_controller_test.go#L2036
cannot use prometheusHandlerMock (variable of type *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler) as "github.com/equinor/radix-api/api/metrics".PrometheusHandler value in argument to NewApplicationController: *"github.com/equinor/radix-api/api/metrics/mock".MockPrometheusHandler does not implement "github.com/equinor/radix-api/api/metrics".PrometheusHandler (missing method GetReplicaResourcesUtilization) (typecheck)
|
golangci-lint:
api/metrics/prometheus_handler_test.go#L98
cannot use mockPrometheusClient (variable of type *mock.MockPrometheusClient) as PrometheusClient value in struct literal: *mock.MockPrometheusClient does not implement PrometheusClient (missing method GetMetricsByPod) (typecheck)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading