New command "deck file kong2kic" Kong configuration file to Kong Ingress Controller manifests. #3525
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/kong2kic.go#L183
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
test:
file/kong2kic.go#L524
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
test:
file/kong2kic.go#L491
string `KongIngress` has 3 occurrences, make it a constant (goconst)
|
test:
file/kong2kic.go#L200
string `configuration.konghq.com/v1` has 10 occurrences, make it a constant (goconst)
|
test:
file/kong2kic.go#L283
string `Secret` has 7 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#L180
File is not `gofumpt`-ed (gofumpt)
|
test:
file/kong2kic.go#L194
File is not `gofumpt`-ed (gofumpt)
|
test:
file/kong2kic_test.go#L15
var-naming: struct field outputFilenameJsonCRD should be outputFilenameJSONCRD (revive)
|
test:
file/kong2kic_test.go#L16
var-naming: struct field outputFilenameJsonAnnotation should be outputFilenameJSONAnnotation (revive)
|
test:
file/kong2kic.go#L45
empty-block: this block is empty, you can remove it (revive)
|
test:
file/types.go#L33
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
test:
file/kong2kic.go#L31
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
test:
file/kong2kic.go#L818
redefines-builtin-id: redefinition of the built-in type error (revive)
|
test:
file/types.go#L34
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
test:
file/kong2kic.go#L854
redefines-builtin-id: redefinition of the built-in type error (revive)
|
test:
file/kong2kic.go#L996
redefines-builtin-id: redefinition of the built-in type error (revive)
|
test:
file/types.go#L856
var-naming: method marshalKICContentToJson should be marshalKICContentToJSON (revive)
|
test
Restore cache failed: Dependencies file is not found in /home/runner/work/deck/deck. Supported file pattern: go.sum
|