Skip to content

New command "deck file kong2kic" Kong configuration file to Kong Ingress Controller manifests. #3526

New command "deck file kong2kic" Kong configuration file to Kong Ingress Controller manifests.

New command "deck file kong2kic" Kong configuration file to Kong Ingress Controller manifests. #3526

Triggered via pull request September 20, 2023 12:48
@battlebytebattlebyte
synchronize #1019
main
Status Failure
Total duration 39s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
test: types/core.go#L111
G101: Potential hardcoded credentials (gosec)
test: file/writer_test.go#L405
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
test: file/types.go#L32
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
test: file/types.go#L757
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
test: file/kong2kic.go#L200
string `configuration.konghq.com/v1` has 10 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L287
string `Secret` has 7 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L495
string `KongIngress` has 3 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L249
string `KongPlugin` has 4 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L689
File is not `gofmt`-ed with `-s` (gofmt)
test: file/kong2kic.go#L180
File is not `gofumpt`-ed (gofumpt)
test: file/kong2kic.go#L833
redefines-builtin-id: redefinition of the built-in type error (revive)
test: file/kong2kic_test.go#L15
var-naming: struct field outputFilenameJsonCRD should be outputFilenameJSONCRD (revive)
test: file/types.go#L33
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
test: file/kong2kic.go#L869
redefines-builtin-id: redefinition of the built-in type error (revive)
test: file/kong2kic_test.go#L16
var-naming: struct field outputFilenameJsonAnnotation should be outputFilenameJSONAnnotation (revive)
test: file/types.go#L34
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
test: file/kong2kic.go#L1011
redefines-builtin-id: redefinition of the built-in type error (revive)
test: file/types.go#L35
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
test: file/types.go#L866
var-naming: method marshalKICContentToJson should be marshalKICContentToJSON (revive)
test: file/kong2kic.go#L45
empty-block: this block is empty, you can remove it (revive)
test
Restore cache failed: Dependencies file is not found in /home/runner/work/deck/deck. Supported file pattern: go.sum