Authenticate and log users #314
pr.yaml
on: pull_request
Build
1m 34s
Lint
1m 50s
Unit Test
2m 30s
Verify Code Generation
1m 44s
Report Changes In Swagger Spec
49s
Test RadixConfig
6s
Annotations
12 errors
Report Changes In Swagger Spec
Process completed with exit code 128.
|
Build
Process completed with exit code 1.
|
Lint:
main.go#L164
config.PrometheusUrl undefined (type "github.com/equinor/radix-api/internal/config".Config has no field or method PrometheusUrl) (typecheck)
|
Lint:
api/applications/applications_controller_test.go#L2025
cannot use NewApplicationController(func(_ context.Context, _ kubernetes.Interface, _ v1.RadixRegistration) (bool, error) {…}, newTestApplicationHandlerFactory(ApplicationHandlerConfig{…}, func(ctx context.Context, kubeClient kubernetes.Interface, namespace string, configMapName string) (bool, error) {…}), prometheusHandlerMock) (value of type "github.com/equinor/radix-api/models".Controller) as *"github.com/equinor/radix-api/api/utils/token/mock".MockValidatorInterface value in argument to controllertest.NewTestUtils
|
Lint:
api/applications/applications_controller_test.go#L2027
undefined: ApplicationHandlerConfig (typecheck)
|
Lint:
api/middleware/auth/authentication_test.go#L83
not enough arguments in call to applications.NewApplicationController
|
Lint
issues found
|
Unit Test:
main.go#L164
config.PrometheusUrl undefined (type "github.com/equinor/radix-api/internal/config".Config has no field or method PrometheusUrl)
|
Unit Test:
api/applications/applications_controller_test.go#L2025
cannot use NewApplicationController(func(_ context.Context, _ kubernetes.Interface, _ v1.RadixRegistration) (bool, error) {…}, newTestApplicationHandlerFactory(ApplicationHandlerConfig{…}, func(ctx context.Context, kubeClient kubernetes.Interface, namespace string, configMapName string) (bool, error) {…}), prometheusHandlerMock) (value of type "github.com/equinor/radix-api/models".Controller) as *"github.com/equinor/radix-api/api/utils/token/mock".MockValidatorInterface value in argument to controllertest.NewTestUtils
|
Unit Test:
api/applications/applications_controller_test.go#L2027
undefined: ApplicationHandlerConfig
|
Unit Test:
api/middleware/auth/authentication_test.go#L83
not enough arguments in call to applications.NewApplicationController
|
Unit Test
Process completed with exit code 1.
|