Generate Authpolicy from OpenAPI 3.0.X #81
Annotations
10 errors and 2 warnings
Lint:
pkg/kuadrantapi/authpolicy.go#L20
not enough arguments in call to utils.OpenAPIMatcherFromOASOperations
|
Lint:
pkg/kuadrantapi/authpolicy.go#L44
kuadrantPathExtension.IsEnabled undefined (type *"github.com/kuadrant/kuadrantctl/pkg/utils".KuadrantOASPathExtension has no field or method IsEnabled)
|
Lint:
pkg/kuadrantapi/authpolicy.go#L53
cannot infer T (/home/runner/go/pkg/mod/k8s.io/utils@v0.0.0-20230726121419-3b25d923346b/ptr/ptr.go:56:12)
|
Lint:
pkg/kuadrantapi/authpolicy.go#L53
kuadrantOperationExtension.Enable undefined (type *"github.com/kuadrant/kuadrantctl/pkg/utils".KuadrantOASOperationExtension has no field or method Enable) (typecheck)
|
Lint:
cmd/generate_kuadrant_authpolicy.go#L15
could not import github.com/kuadrant/kuadrantctl/pkg/kuadrantapi (-: # github.com/kuadrant/kuadrantctl/pkg/kuadrantapi
|
Lint:
pkg/kuadrantapi/authpolicy.go#L20
not enough arguments in call to utils.OpenAPIMatcherFromOASOperations
|
Lint:
pkg/kuadrantapi/authpolicy.go#L44
kuadrantPathExtension.IsEnabled undefined (type *"github.com/kuadrant/kuadrantctl/pkg/utils".KuadrantOASPathExtension has no field or method IsEnabled)
|
Lint:
pkg/kuadrantapi/authpolicy.go#L53
cannot infer T (/home/runner/go/pkg/mod/k8s.io/utils@v0.0.0-20230726121419-3b25d923346b/ptr/ptr.go:56:12)
|
Lint:
pkg/kuadrantapi/authpolicy.go#L53
kuadrantOperationExtension.Enable undefined (type *"github.com/kuadrant/kuadrantctl/pkg/utils".KuadrantOASOperationExtension has no field or method Enable)) (typecheck)
|
Lint
Process completed with exit code 2.
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrantctl/kuadrantctl. Supported file pattern: go.sum
|