Add radix config files for each environment #56
Annotations
10 errors
golangci-lint:
api/vulnerability/controller.go#L1
: # github.com/equinor/radix-vulnerability-scanner-api/api/vulnerability [github.com/equinor/radix-vulnerability-scanner-api/api/vulnerability.test]
|
golangci-lint:
api/vulnerability/controller_test.go#L49
cannot use "anycluster" (constant of type string) as context.Context value in argument to router.NewServer: string does not implement context.Context (missing method Deadline)
|
golangci-lint:
api/vulnerability/controller_test.go#L49
cannot use s.authProvider (variable of type *"github.com/equinor/radix-vulnerability-scanner-api/utils/auth/mock".MockAuthProvider) as string value in argument to router.NewServer
|
golangci-lint:
api/vulnerability/controller_test.go#L49
cannot use sut (variable of type api.Controller) as auth.AuthProvider value in argument to router.NewServer: api.Controller does not implement auth.AuthProvider (missing method VerifyToken)
|
golangci-lint:
api/vulnerability/controller_test.go#L69
cannot use "anycluster" (constant of type string) as context.Context value in argument to router.NewServer: string does not implement context.Context (missing method Deadline)
|
golangci-lint:
api/vulnerability/controller_test.go#L69
cannot use s.authProvider (variable of type *"github.com/equinor/radix-vulnerability-scanner-api/utils/auth/mock".MockAuthProvider) as string value in argument to router.NewServer
|
golangci-lint:
api/vulnerability/controller_test.go#L69
cannot use sut (variable of type api.Controller) as auth.AuthProvider value in argument to router.NewServer: api.Controller does not implement auth.AuthProvider (missing method VerifyToken)
|
golangci-lint:
api/vulnerability/controller_test.go#L86
cannot use "anycluster" (constant of type string) as context.Context value in argument to router.NewServer: string does not implement context.Context (missing method Deadline)
|
golangci-lint:
api/vulnerability/controller_test.go#L86
cannot use s.authProvider (variable of type *"github.com/equinor/radix-vulnerability-scanner-api/utils/auth/mock".MockAuthProvider) as string value in argument to router.NewServer
|
golangci-lint:
api/vulnerability/controller_test.go#L86
cannot use sut (variable of type api.Controller) as auth.AuthProvider value in argument to router.NewServer: api.Controller does not implement auth.AuthProvider (missing method VerifyToken)
|
Loading